reactor:去除多余的 data.id as number

This commit is contained in:
YunaiV
2025-09-05 00:46:57 +08:00
parent a153a86142
commit 0bf1635090
130 changed files with 213 additions and 202 deletions

View File

@@ -78,7 +78,7 @@ const [Modal, modalApi] = useVbenModal({
await loadDeptTree();
toggleExpandAll();
// 设置表单值, 一定要在加载树之后
await formApi.setValues(await getRole(data.id as number));
await formApi.setValues(await getRole(data.id));
} finally {
modalApi.unlock();
}