From dc3e687df3ba49f48f542c9c3088ce3bbc4318cd Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期三, 05 三月 2025 09:40:55 +0800
Subject: [PATCH] 解决上传文件需要认证的问题

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

diff --git a/src/main.js b/src/main.js
index 7f0fd18..49208a3 100644
--- a/src/main.js
+++ b/src/main.js
@@ -26,6 +26,7 @@
   selectDictLabels,
   handleTree,
 } from "@/utils/ruoyi";
+import { dictToValue } from "@/utils/index";
 // 鍒嗛〉缁勪欢
 import Pagination from "@/components/Pagination";
 // 鑷畾涔夎〃鏍煎伐鍏风粍浠�
@@ -59,6 +60,7 @@
 Vue.prototype.selectDictLabels = selectDictLabels;
 Vue.prototype.download = download;
 Vue.prototype.handleTree = handleTree;
+Vue.prototype.dictToValue = dictToValue;
 Vue.prototype.HaveJson = (val) => {
   return JSON.parse(JSON.stringify(val));
 };
@@ -69,6 +71,7 @@
 Vue.prototype.uploadHeader = {
   Authorization: "Bearer " + getToken(),
 };
+
 // 瑙e喅el-radio-group鍗曢�夋鑷韩鐨刡ug
 Vue.directive("removeAriaHidden", {
   bind(el, binding) {

--
Gitblit v1.9.3