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;
nextTick(() => {
deptTreeSelect.then((res) => {
nextTick(() => {
if (deptRef.value) {
deptRef.value.setCheckedKeys(res.checkedKeys);
}
let checkedKeys = res.checkedKeys;
checkedKeys.forEach((v) => {
nextTick(() => {
deptRef.value.setChecked(v, true, false);
});
});
});
});