From 29ef15703a4e05b0b220a606be9402649331b84b Mon Sep 17 00:00:00 2001
From: ZhangXianQiang <1135831638@qq.com>
Date: 星期三, 13 三月 2024 14:30:50 +0800
Subject: [PATCH] feat:添加下拉选择数据源
---
src/main.js | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/main.js b/src/main.js
index 13c6cf2..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)
@@ -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',
--
Gitblit v1.8.0