唐耀东
2022-10-12 901be26b0491501afe8eb145392a8d8c307f0138
src/main.js
@@ -4,7 +4,7 @@
import Element from 'element-ui'
import './assets/styles/element-variables.scss'
import '@/assets/styles/custom.scss' // 自定义样式
import '@/assets/styles/index.scss' // global css
import '@/assets/styles/ruoyi.scss' // ruoyi css
import App from './App'
@@ -37,7 +37,8 @@
import DictData from '@/components/DictData'
// 弹出层组件
import Dialog from '@/components/Dialog/index'
//下载附件
import { downFile } from '@/utils/down.js'
// 全局方法挂载
Vue.prototype.getDicts = getDicts
Vue.prototype.getConfigKey = getConfigKey
@@ -48,6 +49,7 @@
Vue.prototype.selectDictLabels = selectDictLabels
Vue.prototype.download = download
Vue.prototype.handleTree = handleTree
Vue.prototype.downFile = downFile
// 全局组件挂载
Vue.component('DictTag', DictTag)