1
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user