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

@@ -160,8 +160,8 @@ const onExport = () => {
const DeptAddModalRef = ref<InstanceType<typeof DeptAddModal>>()
// 新增
const onAdd = (id?: string) => {
DeptAddModalRef.value?.onAdd(id)
const onAdd = (parentId?: string) => {
DeptAddModalRef.value?.onAdd(parentId)
}
// 修改