Unlock instant, AI-driven research and patent intelligence for your innovation.

Method, system and device for carrying out state management on vue and medium

A state management and state value technology, applied in the direction of electrical digital data processing, instrumentation, error detection/correction, etc., can solve aggravated problems, increase project complexity, etc., to reduce file size, reduce cost and project complexity, Avoid the effect of polluting the global environment

Active Publication Date: 2020-10-30
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At this time, if we want to use Vuex, it will not only not help us solve the problem, but will aggravate the problem and increase the complexity of the project

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
  • Method, system and device for carrying out state management on vue and medium
  • Method, system and device for carrying out state management on vue and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0019] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are to distinguish two entities with the same name but different parameters or parameters that are not the same, see "first" and "second" It is only for the convenience of expression, and should not be construed as a limitation on the embodiments of the present invention, which will not be described one by one in the subsequent embodiments.

[0020] Vue is the mainstream MVVM front-end framework in the current market, and Vuex is a state management model specially developed for Vue.js applications. The purpose of this invention is to manage the state of Vue without using Vuex.

[0021] ...

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 discloses a method, system and device for carrying out state management on vue and a storage medium, and the method comprises the following steps: creating a global state management fileand a plurality of local state management files, and judging whether a current state is global state management or local state management based on a business type; in response to the fact that the current state is global state management, starting a global state management file and judging whether a local state management file needs to be added or not; responding to the situation that the local state management file needs to be added, matching the corresponding local state management file through the regular expression, and adding the name of the corresponding local state management file intothe global state management file; and monitoring the state value, and correspondingly changing the page in the vue based on the current state and the state value in response to the change of the state value.

Description

technical field [0001] The present invention relates to the field of state management, and more specifically refers to a method, system, computer equipment and readable medium for state management of Vue. Background technique [0002] In today's market, the Vue framework has gradually become the front-end framework of choice for most companies. And Vuex, as the official Vue framework state management plug-in, has undoubtedly become the first choice of many companies and independent developers. Although Vuex can help us achieve state management, it also increases the cost of development and the complexity of the project. Not only that, it makes the state-related information of all business modules have closures, which not only pollutes the global environment of the system, but also increases the burden of project running and loading, reduces the page loading speed, and increases the file size of the packaged project (for SPA). If there is a very large amount of status info...

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): G06F11/36
CPCG06F11/3636G06F11/3628
Inventor 安立斌
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD