Data merging method and device for Veex module, equipment and medium
A technology of data and equipment, which is applied in the fields of devices, data merging methods of Vuex modules, equipment and storage media, can solve problems such as inability to realize effective merging of multi-level structures in Vuex modules, and achieve the effect of effective merging
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0097] Embodiment 1. Judgment of data conflicts in the state attribute merging function
[0098] Such as figure 2 As shown, in this embodiment, the state attribute merging function includes the following steps:
[0099] Step 201, acquire the attribute value of state and the attribute value of getters in the second Vuex module.
[0100] Step 202, select a key-value object that has not been merged in the state of the second Vuex module.
[0101] Step 203, judge whether the attribute value of state in the second Vuex module is the same as the attribute value of getters, if yes, execute step 205, otherwise, execute step 204.
[0102] Step 204, when it is determined that the property value of the state in the second Vuex module is the same as the property value of the getters, trigger generation of a prompt message for reporting an error in the second Vuex module.
[0103] Step 205, when it is determined that the attribute value of the state in the second Vuex module is differe...
Embodiment 2
[0112] Embodiment 2: Judgment of data conflicts in getters attribute merging function
[0113] Such as Figure 4 As shown, in this embodiment, the getters attribute merging function includes the following steps:
[0114] Step 401, acquire the attribute value of state and the attribute value of getters in the second Vuex module.
[0115] Step 402, select a key-value object that has not been merged in the getters of the second Vuex module.
[0116] Step 403, judge whether the attribute value of state in the second Vuex module is the same as the attribute value of getters, if yes, execute step 405, otherwise, execute step 404.
[0117] Step 404, when it is determined that the property value of the state in the second Vuex module is the same as the property value of the getters, trigger generation of a prompt message for reporting an error in the second Vuex module.
[0118] Step 405, when it is determined that the property value of the state in the second Vuex module is differ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


