jinlin
2024-07-22 3a4536445096cdb80d586a67df3c00ab4a0faecb
web/src/views/modules/basicInfo/ProductModelTree.vue
@@ -84,7 +84,6 @@
        if (this.basic) {
          if (this.productList && this.productList[0].children) {
            this.defaultId = this.productList[0].children[0].id
            console.log(this.defaultId, 'this.defaultID')
            this.$nextTick(() => {
              this.$refs.tree.setCurrentKey(this.defaultId); //一定要加这个选中了否则样式没有出来
            });