This commit is contained in:
张成
2025-10-08 17:15:31 +08:00
parent cda6e0f222
commit 43eb9715fa
4 changed files with 99 additions and 38 deletions

View File

@@ -168,7 +168,7 @@ export default class uiTool {
return []
}
static getRoutes(Main, ParentView, Page404) {
static getRoutes(Main, ParentView, Page404, HomePage) {
let mainRoute = {
path: '/',
name: '主视图',
@@ -181,7 +181,7 @@ export default class uiTool {
path: '/home',
name: 'home',
meta: { title: '首页', notCache: true },
component: {
component: HomePage || {
render: h => h('div', { style: { padding: '20px' } }, '欢迎使用管理系统')
}
}