diff --git a/src/views/xgf/insert/components/corpInfoAdd.vue b/src/views/xgf/insert/components/corpInfoAdd.vue index 46fe8e2..1a48d75 100644 --- a/src/views/xgf/insert/components/corpInfoAdd.vue +++ b/src/views/xgf/insert/components/corpInfoAdd.vue @@ -419,11 +419,6 @@ export default { ).then((data) => { const treeData = this.listTransTree(JSON.parse(data.zTreeNodes), 'id', 'pId', 'nodes') this.treeData = this.removeEmptyChildren(treeData) - this.treeData.push({ - id: '0', - name: '无', - nodes: [] - }) }).catch((e) => { }) }, diff --git a/src/views/xgf/insert/components/corpInfoEdit.vue b/src/views/xgf/insert/components/corpInfoEdit.vue index 4a1668e..1b39cb0 100644 --- a/src/views/xgf/insert/components/corpInfoEdit.vue +++ b/src/views/xgf/insert/components/corpInfoEdit.vue @@ -539,11 +539,6 @@ export default { ).then((data) => { const treeData = this.listTransTree(JSON.parse(data.zTreeNodes), 'id', 'pId', 'nodes') this.treeData = this.removeEmptyChildren(treeData) - this.treeData.push({ - id: '0', - name: '无', - nodes: [] - }) console.log(this.treeData) }).catch((e) => { })