From cfed1ec2b3688352b4f708e98c04a2085c746331 Mon Sep 17 00:00:00 2001
From: zhy <luhan1008611>
Date: 星期一, 30 十月 2023 16:35:14 +0800
Subject: [PATCH] fix: 基础信息优化

---
 admin-web/src/views/foundation/classification/index.vue |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/admin-web/src/views/foundation/classification/index.vue b/admin-web/src/views/foundation/classification/index.vue
index 3d942fa..785bf7a 100644
--- a/admin-web/src/views/foundation/classification/index.vue
+++ b/admin-web/src/views/foundation/classification/index.vue
@@ -189,12 +189,14 @@
     // 宸︿晶鏍戝垵濮嬪寲
     initTreeData() {
       finsystenant.getTree().then(res => {
+        console.log(res, 'restree');
+        console.log(this.importSetting,'this.importSetting');
         const content = res || []
-        this.treeDataList.splice(0, this.treeDataList.length)
+        // this.treeDataList.splice(0, this.treeDataList.length)
         this.treeDataList = content
-        if (content.length > 0) {
-          this.importSetting.fileSettings.data = {pid: content[0].id}
-        }
+        // if (content.length > 0) {
+        //   this.importSetting.fileSettings.data = {pid: content[0].id}
+        // }
       })
     },
     updState(row) {
@@ -243,6 +245,7 @@
       this.editSetting.show = true;
     },
     nodeClick(param) {
+      console.log(param, 'param');
       param = param || {}
       this.p = Object.assign({}, {
         id: param.id,

--
Gitblit v1.9.1