Compare commits
2 Commits
2c7d438750
...
bad718ecb9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bad718ecb9 | ||
|
|
869dda515d |
@@ -1,6 +1,7 @@
|
||||
import Main from './main'
|
||||
import ParentView from './parent-view'
|
||||
|
||||
|
||||
// 导入页面组件
|
||||
import pages from '../views/index'
|
||||
const {LoginPage,Page401,Page404,Page500} = pages
|
||||
|
||||
@@ -25,7 +25,7 @@ import storeModules, { createStore } from './store'
|
||||
import { createBaseRoutes, setupRouterGuards, createRouter, getRoutes } from './router'
|
||||
|
||||
|
||||
import components ,{ registerGlobalComponents} from './components/index'
|
||||
import components ,{ registerGlobalComponents, registerComponents} from './components/index'
|
||||
|
||||
import pages from './views/index'
|
||||
|
||||
@@ -53,7 +53,7 @@ class AdminFramework {
|
||||
|
||||
this.createBaseRoutes = createBaseRoutes
|
||||
this.setupRouterGuards = setupRouterGuards
|
||||
|
||||
this.registerComponents = registerComponents
|
||||
this.pages = pages
|
||||
this.components = components
|
||||
this.systemApi = systemApi
|
||||
|
||||
@@ -60,5 +60,6 @@ export default {
|
||||
Page401,
|
||||
Page404,
|
||||
Page500,
|
||||
setupComponentMap
|
||||
setupComponentMap,
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user