From fb45193819e90f59c5f22a5f1e5a3f6a38c98c00 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期二, 25 二月 2025 17:48:27 +0800
Subject: [PATCH] 搬迁投诉列表

---
 src/main.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/main.js b/src/main.js
index f0f2eb0..28883c0 100644
--- a/src/main.js
+++ b/src/main.js
@@ -48,6 +48,7 @@
 // 瀛楀吀鏁版嵁缁勪欢
 import DictData from "@/components/DictData";
 import { checkPermi } from "@/utils/permission"; // 鏉冮檺鍒ゆ柇鍑芥暟
+import { getToken } from "@/utils/auth";
 
 // 鍏ㄥ眬鏂规硶鎸傝浇
 Vue.prototype.getDicts = getDicts;
@@ -67,6 +68,9 @@
   ? process.env.VUE_APP_BASE_API
   : "http://192.168.0.170:8002";
 Vue.prototype.checkPermi = checkPermi;
+Vue.prototype.uploadHeader = {
+  Authorization: "Bearer " + getToken(),
+};
 
 // 鍏ㄥ眬缁勪欢鎸傝浇
 Vue.component("DictTag", DictTag);

--
Gitblit v1.9.3