meixioacomponent 0.5.13 → 0.5.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -93,13 +93,6 @@ export default {
|
|
|
93
93
|
},
|
|
94
94
|
selectData() {
|
|
95
95
|
const data = this.selectStore.getData()
|
|
96
|
-
if (data) {
|
|
97
|
-
if (Array.isArray(data)) {
|
|
98
|
-
if (data.length > 0) {
|
|
99
|
-
this.$emit('selectDataComplated', data)
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
96
|
return data
|
|
104
97
|
},
|
|
105
98
|
selectConfig() {
|
|
@@ -144,6 +137,15 @@ export default {
|
|
|
144
137
|
this.loadSelectData()
|
|
145
138
|
},
|
|
146
139
|
},
|
|
140
|
+
selectData(newVal, oldVal) {
|
|
141
|
+
if (newVal) {
|
|
142
|
+
if (Array.isArray(newVal)) {
|
|
143
|
+
if (newVal.length > 0) {
|
|
144
|
+
this.$emit('selectDataComplated', newVal)
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
},
|
|
147
149
|
},
|
|
148
150
|
}
|
|
149
151
|
</script>
|