@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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.vue +1 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambo-design/schema-tree",
3
- "version": "1.0.0-beta.2",
3
+ "version": "1.0.0-beta.3",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "author": "lambo",
package/src/index.vue CHANGED
@@ -136,7 +136,7 @@ export default {
136
136
  this.getRootData();
137
137
  },
138
138
  },
139
- created() {
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
  },