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) }) }, // 填充部门树