xiangpei
2024-03-12 c757946e75dacaffb07d7415edc0176f8cd0c0a2
src/main.js
@@ -1,7 +1,7 @@
import Vue from 'vue'
import Cookies from 'js-cookie'
import {getToken} from "@/utils/auth";
import Element from 'element-ui'
import './assets/styles/element-variables.scss'
@@ -48,6 +48,7 @@
Vue.prototype.selectDictLabels = selectDictLabels
Vue.prototype.download = download
Vue.prototype.handleTree = handleTree
Vue.prototype.getToken = getToken
// 全局组件挂载
Vue.component('DictTag', DictTag)
@@ -76,7 +77,7 @@
  size: Cookies.get('size') || 'medium' // set element-ui default size
})
Vue.config.productionTip = false
Vue.config.productionTip = true
new Vue({
  el: '#app',