mirror of
https://github.com/ccmjga/zhilu-admin
synced 2026-04-03 02:23:46 +08:00
重构错误处理逻辑,更新组件导入路径,新增多个模态框组件以支持用户、部门、角色和权限管理功能,优化分页和排序逻辑,更新类型定义以提高代码可读性和维护性
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import client from "../../api/client";
|
||||
import type { PermissionUpsertModel } from "../../types/permission";
|
||||
import type { PermissionUpsertModel } from "../../types/PermissionTypes";
|
||||
|
||||
const usePermissionUpsert = () => {
|
||||
const upsertPermission = async (permission: PermissionUpsertModel) => {
|
||||
|
||||
Reference in New Issue
Block a user