feat(role): 添加角色管理相关常量并优化角色状态切换

refactor(role): 使用常量替换硬编码的角色ID和key
fix(role): 修正角色排序默认值为1
feat(component): 导出ApiSwitch全局组件
This commit is contained in:
dap
2026-01-15 10:03:39 +08:00
parent 07fa5626fd
commit 448856e547
4 changed files with 36 additions and 9 deletions

View File

@@ -12,3 +12,5 @@ export function setupGlobalComponent(app: App) {
// 表格操作列专用按钮
app.component('GhostButton', GhostButton);
}
export { default as ApiSwitch } from './api-switch.vue';