前端新增可配置侧边栏风格,可以配置网页主题色
This commit is contained in:
@@ -58,7 +58,8 @@ import {
|
||||
Upload,
|
||||
Progress,
|
||||
MessageBox,
|
||||
Image
|
||||
Image,
|
||||
ColorPicker
|
||||
} from 'element-ui'
|
||||
|
||||
Vue.use(Button)
|
||||
@@ -110,6 +111,7 @@ Vue.use(Progress)
|
||||
Vue.use(Scrollbar)
|
||||
Vue.use(Loading.directive)
|
||||
Vue.use(Image)
|
||||
Vue.use(ColorPicker)
|
||||
|
||||
Vue.prototype.$loading = Loading.service
|
||||
Vue.prototype.$message = Message
|
||||
|
||||
@@ -10,7 +10,8 @@ import APlayer from '@moefe/vue-aplayer'
|
||||
import '../../node_modules/timeline-vuejs/dist/timeline-vuejs.css'
|
||||
// 路由守卫
|
||||
import Bus from '@/utils/bus'
|
||||
//加载网站配置文件夹
|
||||
// 加载网站配置文件夹
|
||||
import '../style/element_visiable.scss' // 导入主题色配置
|
||||
import config from './config'
|
||||
Vue.prototype.$GIN_VUE_ADMIN = config
|
||||
console.log(config)
|
||||
|
||||
Reference in New Issue
Block a user