Commit f76132111691bcb8d01885fa8f6c2a20821982a9
1 parent
bdef22cd
用户选择组件 左侧异步加载部门树 issues/3196
Showing
1 changed file
with
1 additions
and
0 deletions
ant-design-vue-jeecg/src/components/jeecgbiz/modal/JSelectUserByDepModal.vue
@@ -299,6 +299,7 @@ | @@ -299,6 +299,7 @@ | ||
299 | queryDepartTree() { | 299 | queryDepartTree() { |
300 | //update-begin-author:taoyan date:20211202 for: 异步加载部门树 https://github.com/jeecgboot/jeecg-boot/issues/3196 | 300 | //update-begin-author:taoyan date:20211202 for: 异步加载部门树 https://github.com/jeecgboot/jeecg-boot/issues/3196 |
301 | this.expandedKeys = [] | 301 | this.expandedKeys = [] |
302 | + this.departTree = [] | ||
302 | queryDepartTreeSync().then((res) => { | 303 | queryDepartTreeSync().then((res) => { |
303 | if (res.success) { | 304 | if (res.success) { |
304 | for (let i = 0; i < res.result.length; i++) { | 305 | for (let i = 0; i < res.result.length; i++) { |