src/views/system/dept/index.vue
@@ -226,10 +226,11 @@ /** 查询部门列表 */ getList() { this.loading = true; listDept(this.queryParams).then(response => { listDept(this.queryParam.then(response => { this.deptList = this.handleTree(response.data, "deptId"); this.loading = false; }); })); }, /** 转换部门数据结构 */ normalizer(node) {