@lambo-design/schema-tree 1.0.0-beta.2 → 1.0.0-beta.3
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 +1 -1
- package/src/index.vue +1 -3
package/package.json
CHANGED
package/src/index.vue
CHANGED
|
@@ -136,7 +136,7 @@ export default {
|
|
|
136
136
|
this.getRootData();
|
|
137
137
|
},
|
|
138
138
|
},
|
|
139
|
-
|
|
139
|
+
mounted() {
|
|
140
140
|
this.init();
|
|
141
141
|
},
|
|
142
142
|
methods: {
|
|
@@ -231,7 +231,6 @@ export default {
|
|
|
231
231
|
self.processData(resp.data.data);
|
|
232
232
|
node[0].children = resp.data.data
|
|
233
233
|
self.getNode(node[0].children)
|
|
234
|
-
|
|
235
234
|
} else {
|
|
236
235
|
self.$Message.error('获取数据失败');
|
|
237
236
|
}
|
|
@@ -261,7 +260,6 @@ export default {
|
|
|
261
260
|
item.children = item.children ? item.children : [];
|
|
262
261
|
if (item.children.length > 0) {
|
|
263
262
|
this.processData(item.children);
|
|
264
|
-
this.lazyModel = false
|
|
265
263
|
}
|
|
266
264
|
});
|
|
267
265
|
},
|