Commit 61d3d88a authored by 张伯涛's avatar 张伯涛

默认机器人UI风格

parent 491fad20
......@@ -11,7 +11,9 @@ import xhr from '@/utils/request'
import '@/styles/index.scss' // global css
// 样式文件切换,通过localStorage存储的theme变量决定用哪套样式文件
const storageValue = window.localStorage.getItem('theme') // 获取 localStorage 中的值
if (!storageValue || storageValue === '1') {
if(!storageValue) {
import('@/styles/themeD/index.scss')
}else if ( storageValue === '1') {
import('@/styles/themeA/index.scss')
} else if (storageValue === '2') {
import('@/styles/themeB/index.scss')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment