소스 검색

update tree-panel ref

RuoYi 2 달 전
부모
커밋
ea3410e170
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      ruoyi-ui/src/views/system/user/index.vue

+ 1 - 1
ruoyi-ui/src/views/system/user/index.vue

@@ -379,7 +379,7 @@ export default {
       this.dateRange = []
       this.dateRange = []
       this.resetForm("queryForm")
       this.resetForm("queryForm")
       this.queryParams.deptId = undefined
       this.queryParams.deptId = undefined
-      this.$refs.deptTree.setCurrentKey(null)
+      this.$refs.deptTreeRef.setCurrentKey(null)
       this.handleQuery()
       this.handleQuery()
     },
     },
     // 多选框选中数据
     // 多选框选中数据