fix: 修复修改角色的菜单权限bug
This commit is contained in:
@@ -83,7 +83,7 @@ function closeDrawer() {
|
||||
|
||||
async function handleSubmit() {
|
||||
await validate();
|
||||
const menuIds = menuAuthRef.value?.checkedKeys();
|
||||
const menuIds = transformMenuChildWithRootIds(menuAuthRef.value?.tree || [], model.value.menuIds);
|
||||
|
||||
const {error} = await (props.operateType === 'edit' ? doPutRole : doPostRole)({
|
||||
...model.value,
|
||||
|
||||
Reference in New Issue
Block a user