mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-11-13 04:57:11 +08:00
refactor: 优化角色管理、用户管理相关代码
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
// 修改
|
||||
|
||||
Reference in New Issue
Block a user