mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
颜色更换
This commit is contained in:
@@ -4,6 +4,7 @@ import router, { setupRouter } from '@/router';
|
||||
import { setupStore } from '@/store';
|
||||
import { setupNaive, setupDirectives } from '@/plugins';
|
||||
import { AppProvider } from '@/components/Application';
|
||||
import { setHtmlTheme } from '@/utils/style'
|
||||
|
||||
async function appInit() {
|
||||
const appProvider = createApp(AppProvider);
|
||||
@@ -19,6 +20,9 @@ async function appInit() {
|
||||
// 挂载状态管理
|
||||
setupStore(app);
|
||||
|
||||
// 处理主题色
|
||||
setHtmlTheme()
|
||||
|
||||
//优先挂载一下 Provider 解决路由守卫,Axios中可使用,Dialog,Message 等之类组件
|
||||
appProvider.mount('#appProvider', true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user