|
@@ -67,18 +67,15 @@ export const initMainRouter = async () => {
|
|
|
// }
|
|
|
// loading.close()
|
|
|
// themeConfig = config.data
|
|
|
- // initRootVar(config.data)
|
|
|
+ // initRootVar(themeConfig)
|
|
|
// })
|
|
|
- initRootVar({
|
|
|
- mainColor: '#f82828',
|
|
|
- textColor1: 'rgba(48,49,51,1)',
|
|
|
- textColor2: 'rgba(96,98,102,1)',
|
|
|
- textColor3: 'rgba(144,147,153,1)',
|
|
|
- textColor4: 'rgba(192,196,204,1)',
|
|
|
+ themeConfig = {
|
|
|
+ mainColor: '#2E81FF',
|
|
|
logo: 'https://element-plus.org/images/element-plus-logo.svg',
|
|
|
title: '海南社管智慧搜索平台',
|
|
|
subTitle: 'HAI NAN SHE GUAN ZHI HUI SOU SUO PING TAI'
|
|
|
- })
|
|
|
+ }
|
|
|
+ initRootVar(themeConfig)
|
|
|
} else if (location.pathname !== '/login') {
|
|
|
toLogin()
|
|
|
}
|