This commit is contained in:
2023-06-21 15:47:46 +08:00
parent 4f4eb9bee0
commit 376811018b

View File

@ -724,10 +724,11 @@ function handleDataScope(row) {
openDataScope.value = true; openDataScope.value = true;
nextTick(() => { nextTick(() => {
deptTreeSelect.then((res) => { deptTreeSelect.then((res) => {
let checkedKeys = res.checkedKeys;
checkedKeys.forEach((v) => {
nextTick(() => { nextTick(() => {
if (deptRef.value) { deptRef.value.setChecked(v, true, false);
deptRef.value.setCheckedKeys(res.checkedKeys); });
}
}); });
}); });
}); });