| | |
| | | import { getToken } from "@/utils/auth"; |
| | | import Element from 'element-ui' |
| | | import './assets/styles/element-variables.scss' |
| | | |
| | | import * as echarts from 'echarts' |
| | | import 'echarts-gl' |
| | | import '@/assets/styles/index.scss' // global css |
| | | import '@/assets/styles/ruoyi.scss' // ruoyi css |
| | | import App from './App' |
| | |
| | | import VueMeta from 'vue-meta' |
| | | // 字典数据组件 |
| | | import DictData from '@/components/DictData' |
| | | |
| | | import VueAnimateNumber from 'vue-animate-number' |
| | | // 大屏 |
| | | import VScaleScreen from 'v-scale-screen' |
| | | import dataV from '@jiaminghi/data-view' |
| | |
| | | Vue.prototype.handleTree = handleTree |
| | | Vue.prototype.getToken = getToken |
| | | Vue.prototype.$uploadUrl = process.env.VUE_APP_BASE_API + "/common/upload" |
| | | Vue.prototype.$img = process.env.VUE_APP_BASE_API |
| | | Vue.prototype.$echarts = echarts |
| | | |
| | | // 全局组件挂载 |
| | | Vue.component('DictTag', DictTag) |
| | |
| | | Vue.use(VueMeta) |
| | | Vue.use(VScaleScreen) |
| | | Vue.use(dataV) |
| | | Vue.use(VueAnimateNumber) |
| | | DictData.install() |
| | | |
| | | // websocket |