From 54d830c6f6d14848e9f9342147adcf1c00269ee3 Mon Sep 17 00:00:00 2001 From: liujun Date: Tue, 19 Mar 2024 11:54:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E7=AE=A1=E9=83=A8=E9=97=A8=E5=8F=AF?= =?UTF-8?q?=E4=BB=A5=E9=80=89=E6=97=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/relevantunits/insert/components/corpInfoAdd.vue | 5 +++++ src/views/relevantunits/insert/components/corpInfoEdit.vue | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/views/relevantunits/insert/components/corpInfoAdd.vue b/src/views/relevantunits/insert/components/corpInfoAdd.vue index 6aaef9f..5c3cdb0 100644 --- a/src/views/relevantunits/insert/components/corpInfoAdd.vue +++ b/src/views/relevantunits/insert/components/corpInfoAdd.vue @@ -476,6 +476,11 @@ export default { {} ).then((data) => { this.treeData = JSON.parse(data.zTreeNodes) + this.treeData.push({ + id: '0', + name: '无', + nodes: [] + }) }).catch((e) => { }) }, diff --git a/src/views/relevantunits/insert/components/corpInfoEdit.vue b/src/views/relevantunits/insert/components/corpInfoEdit.vue index d997d48..dd093ca 100644 --- a/src/views/relevantunits/insert/components/corpInfoEdit.vue +++ b/src/views/relevantunits/insert/components/corpInfoEdit.vue @@ -534,6 +534,11 @@ export default { {} ).then((data) => { this.treeData = JSON.parse(data.zTreeNodes) + this.treeData.push({ + id: '0', + name: '无', + nodes: [] + }) }).catch((e) => { }) resolve()