MrShi
2025-08-19 30e858fa504b268b9b436afca0a1259cf6e8c488
admin/src/components/business/OperaCategoryWindow.vue
@@ -113,7 +113,7 @@
      this.title = title
      this.categorys = JSON.parse(JSON.stringify(categorys||[]));
      // this.categorys = this.getTreeData(this.categorys)
      console.log(this.categorys)
      console.log(parentId)
      this.visible = true
      this.form = {
        id: null,
@@ -122,7 +122,7 @@
        remark: '',
        categoryList: [],
        sortnum: null,
        parentId: parentId
        parentId: parentId || null
      }
      this.form.type = categoryType
      // 新建
@@ -130,6 +130,7 @@
      if (target == null) {
        this.$nextTick(() => {
          this.$refs.form.resetFields()
          this.form.parentId = parentId
          this.form[this.configData['field.id']] = null
          this.form.categoryList = []
          /* if (parentIdPath && parentIdPath != null) {