😎修复机构树默认选择问题
This commit is contained in:
parent
c8a42cdf46
commit
cf1aeb990f
@ -101,7 +101,7 @@ const fetchTreeData = async (showLoading: boolean = true) => {
|
||||
// 设置默认选择
|
||||
const setCheckedKeys = (orgData: any) => {
|
||||
state.isShowCheckbox = true;
|
||||
treeRef.value!.setCheckedKeys([]);
|
||||
treeRef.value!.setCheckedKeys(orgData);
|
||||
state.ownOrgData = orgData;
|
||||
};
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user