This commit is contained in:
张成
2025-11-19 22:37:07 +08:00
parent ce7916c097
commit ff2d6004b6
4 changed files with 8 additions and 265 deletions

View File

@@ -24,8 +24,15 @@ import Page500 from './error-page/500.vue'
// 设置组件映射的方法
export function setupComponentMap(customMap = {}, uiTool) {
if (!customMap["home/index"]) {
customMap["home/index"] = HomePage
}
else {
HomePage = customMap["home/index"]
}
const componentMap = {
'home/index': HomePage,
'system/sys_log': SysLog,
'system/sys_param_setup': SysParamSetup,
'system/sys_role': SysRole,