From c757946e75dacaffb07d7415edc0176f8cd0c0a2 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期二, 12 三月 2024 18:15:55 +0800
Subject: [PATCH] 点位优化

---
 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