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)