meixioacomponent 0.2.17 → 0.2.18
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/lib/meixioacomponent.common.js +1518 -22742
- package/lib/meixioacomponent.umd.js +1518 -22742
- package/lib/meixioacomponent.umd.min.js +5 -136
- package/package.json +1 -1
- package/packages/components/base/baseArea/baseArea.vue +7 -3
package/package.json
CHANGED
|
@@ -92,7 +92,6 @@
|
|
|
92
92
|
</template>
|
|
93
93
|
|
|
94
94
|
<script>
|
|
95
|
-
import { json } from "body-parser";
|
|
96
95
|
import baseButtonHandleVue from "../baseButtonHandle/baseButtonHandle.vue";
|
|
97
96
|
//
|
|
98
97
|
import areaJson from "./area";
|
|
@@ -190,9 +189,7 @@ export default {
|
|
|
190
189
|
},
|
|
191
190
|
methods: {
|
|
192
191
|
init() {
|
|
193
|
-
//console.log("start");
|
|
194
192
|
if (this.module && this.module instanceof Object) {
|
|
195
|
-
//console.log("end");
|
|
196
193
|
for (let i = 0; i < areaConfig.length; i++) {
|
|
197
194
|
let item = areaConfig[i];
|
|
198
195
|
let value = this.module[`${item.value}`];
|
|
@@ -377,6 +374,13 @@ export default {
|
|
|
377
374
|
}
|
|
378
375
|
},
|
|
379
376
|
},
|
|
377
|
+
watch: {
|
|
378
|
+
module(newVal, oldVal) {
|
|
379
|
+
if (this.$parent.$options._componentTag == "el-form-item") {
|
|
380
|
+
this.init();
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
},
|
|
380
384
|
};
|
|
381
385
|
</script>
|
|
382
386
|
|