Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Extension method and extension device based on el-tables

An expansion method and expansion device technology, applied in the direction of program control device, program loading/starting, execution example, etc., can solve the problems of reducing network resources and performance consumption, etc.

Inactive Publication Date: 2021-04-16
CHANGZHOU MICROINTELLIGENCE CO LTD
View PDF3 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In order to solve the above technical problems, the present invention proposes an extension method based on el-tabs. This method repackages and expands the el-tabs component, making the call more concise and improving the rendering time of high-frequency large data volumes. The performance of the page, by using the combination of vue calculation attribute features and data cache, reduces the network resources and performance consumption of all the sub-item tab page content rendering when el-tabs is rendered for the first time, and avoids the phenomenon of page lag when opening the page for the first time

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Extension method and extension device based on el-tables
  • Extension method and extension device based on el-tables
  • Extension method and extension device based on el-tables

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0027] figure 1 is a flow chart of an extension method based on el-tabs according to an embodiment of the present invention. As shown in Figure 1, the method includes the following steps:

[0028] S1, create subcomponents, and define the property content values ​​exposed by the subcomponents of the parent-child component communication mechanism props.

[0029] The name of the subcomponent can be defined by itself, for example, it is defined as a wytabs modul...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides an extension method and an extension device based on el-tabs. The method comprises the following steps: creating subassemblies; obtaining a child item instance name transmitted by the parent component in a hook of the calculation attribute of the value; dynamically setting the content of a sub-item tabs page in the eltabs by using a slot slot mechanism of the vue, determining whether to render the content of the current sub-item tabs page or not, and setting that only one sub-item tabs page is rendered during default initialization; and triggering the corresponding data request in each sub-item again according to the unique ID value set by the current sub-item at the initial stage of component creation during sub-item switching. Therefore, calling can be simpler, the performance of the page during high-frequency large-data-volume rendering is improved, network resources and performance consumption for rendering all contents of the sub-item tab page during eltabs first rendering are reduced, and the phenomenon that the page is jammed after being opened for the first time is avoided.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to an extension method based on el-tabs (a component of element UI, which realizes the function of a tab page), an extension device based on el-tabs, and a non-temporary A computer readable storage medium and a computer device. Background technique [0002] As a desktop component library, ELementUI is widely used in actual development project scenarios in the field of web (Global Wide Area Network). At the same time, it also has the disadvantage that it cannot meet the needs of various business application scenarios. The default strategy of el-tabs is a one-time Read all the requests involved in the tab, and after that, when switching tabs, no re-read operation will be performed. [0003] When the page is opened for the first time, we can only see the content of the current tab page. Vue (a progressive JavaScript framework for building user interfaces) will render a...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/445G06F9/448
Inventor 纪旭宇郭宁孙猛猛韩锦潘正颐侯大为
Owner CHANGZHOU MICROINTELLIGENCE CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products