MrShi
2025-12-11 4317b22c68ffef8e50c3b69e230e123c31be36b5
admin/src/components/common/DepartmentSelect.vue
@@ -45,7 +45,7 @@
    }
  },
  watch: {
    excludeId () {
    value () {
      this.fetchData()
    }
  },
@@ -54,11 +54,12 @@
    fetchData () {
      fetchTree()
        .then(records => {
          // debugger
          this.data = []
          this.__fillData(this.data, records)
        })
        .catch(e => {
          this.$tip.apiFailed(e)
         //  this.$tip.apiFailed(e)
        })
    },
    // 填充部门树