refactor: 优化系统管理相关代码

This commit is contained in:
2024-11-17 12:46:58 +08:00
parent 5de731dab4
commit 4edbe54fe3
34 changed files with 482 additions and 511 deletions

View File

@@ -33,7 +33,6 @@ const dataId = ref('')
const visible = ref(false)
const isUpdate = computed(() => !!dataId.value)
const title = computed(() => (isUpdate.value ? '修改用户' : '新增用户'))
const formRef = ref<InstanceType<typeof GiForm>>()
const { roleList, getRoleList } = useRole()
const { deptList, getDeptList } = useDept()