zhy
2023-10-30 cfed1ec2b3688352b4f708e98c04a2085c746331
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,