😎修复机构树默认选择问题

This commit is contained in:
zuohuaijun 2025-09-15 08:55:34 +08:00
parent c8a42cdf46
commit cf1aeb990f

View File

@ -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;
};