update 优化 重置时取消部门选中

This commit is contained in:
疯狂的狮子li 2022-10-22 07:24:35 +08:00
parent 5830c3c96d
commit a127eaa0e9

View File

@ -20,6 +20,7 @@
:expand-on-click-node="false"
:filter-node-method="filterNode"
ref="tree"
node-key="id"
default-expand-all
highlight-current
@node-click="handleNodeClick"
@ -536,6 +537,8 @@ export default {
resetQuery() {
this.dateRange = [];
this.resetForm("queryForm");
this.queryParams.deptId = undefined;
this.$refs.tree.setCurrentKey(null);
this.handleQuery();
},
//