refactor: 优化角色管理、用户管理相关代码

This commit is contained in:
2024-04-24 21:18:31 +08:00
parent 62d4432c00
commit efa1c32e00
9 changed files with 42 additions and 40 deletions

View File

@@ -177,8 +177,8 @@ const onExpanded = () => {
const MenuAddModalRef = ref<InstanceType<typeof MenuAddModal>>()
// 新增
const onAdd = (id?: string) => {
MenuAddModalRef.value?.onAdd(id)
const onAdd = (parentId?: string) => {
MenuAddModalRef.value?.onAdd(parentId)
}
// 修改