This commit is contained in:
张成
2025-10-10 00:08:35 +08:00
parent 88cd8d6e72
commit f86ee00e3b
15 changed files with 72 additions and 403 deletions

View File

@@ -29,7 +29,7 @@ const funTool = {
import storeModules, { userModule, appModule } from './store'
import routerConfig, { createBaseRoutes, setupRouterGuards } from './router'
import { createBaseRoutes, setupRouterGuards } from './router'
import HomePage from './views/home/index.vue'
@@ -75,6 +75,7 @@ class AdminFramework {
this.config = {}
this.store = null
this.router = null
this.ViewUI = null
this.tools = tools
this.uiTool = uiTool
@@ -119,6 +120,7 @@ class AdminFramework {
const { config = {}, ViewUI, VueRouter, Vuex, createPersistedState, componentMap } = options
this.config = config
this.ViewUI = ViewUI
if (ViewUI) {
Vue.use(ViewUI)