From a206ac34469aa9e32d7bd36db783f15c2e9b90d6 Mon Sep 17 00:00:00 2001 From: ZhangXianQiang <1135831638@qq.com> Date: 星期三, 13 三月 2024 10:57:25 +0800 Subject: [PATCH] Merge branch 'master' of http://42.193.1.25:9521/r/zgyw-ui --- src/main.js | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/main.js b/src/main.js index 402f115..a8d407c 100644 --- a/src/main.js +++ b/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) -- Gitblit v1.8.0