refactor: 重构仪表盘模块初始化逻辑并优化登录页背景样式
将仪表盘模块的echarts和dataV初始化逻辑提取到独立模块 修复仓库页面表单字段默认值问题 优化登录页背景图片显示方式为拉伸不重复
This commit is contained in:
@@ -3,13 +3,12 @@ import Vue from 'vue'
|
||||
import Cookies from 'js-cookie'
|
||||
import VueKonva from 'vue-konva';
|
||||
|
||||
import * as echarts from 'echarts'
|
||||
import dataV from '@jiaminghi/data-view';
|
||||
|
||||
import Element from 'element-ui'
|
||||
import '@/modules/dashboardBig/assets/scss/style.scss';
|
||||
|
||||
import './assets/styles/element-variables.scss'
|
||||
|
||||
import dashboardBigPlugin from '@/modules/dashboardBig/init.js'
|
||||
|
||||
import vueFlvPlayer from 'vue-flv-player'
|
||||
|
||||
import '@/assets/styles/index.scss' // global css
|
||||
@@ -58,7 +57,6 @@ Vue.prototype.selectDictLabel = selectDictLabel
|
||||
Vue.prototype.selectDictLabels = selectDictLabels
|
||||
Vue.prototype.download = download
|
||||
Vue.prototype.handleTree = handleTree
|
||||
Vue.prototype.$echarts = echarts
|
||||
|
||||
|
||||
// 全局组件挂载
|
||||
@@ -75,8 +73,8 @@ Vue.use(vueFlvPlayer)
|
||||
Vue.use(directive)
|
||||
Vue.use(plugins)
|
||||
Vue.use(VueMeta)
|
||||
Vue.use(dataV);
|
||||
Vue.use(VueKonva);
|
||||
Vue.use(dashboardBigPlugin)
|
||||
DictData.install()
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user