refactor: 重构仪表盘模块初始化逻辑并优化登录页背景样式

将仪表盘模块的echarts和dataV初始化逻辑提取到独立模块
修复仓库页面表单字段默认值问题
优化登录页背景图片显示方式为拉伸不重复
This commit is contained in:
砂糖
2025-10-30 18:01:19 +08:00
parent 265ad2fda6
commit 86c10ae1a4
4 changed files with 22 additions and 8 deletions

View File

@@ -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()
/**