From ec1f38facb39dec5ac1d172a9518bda46a1ab9f6 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Fri, 22 Aug 2025 17:05:08 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/feature/v5.0/5.0.4' into feature/v5.0/5.0.4

---
 src/axios.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/axios.js b/src/axios.js
index d0039aa..4acc439 100644
--- a/src/axios.js
+++ b/src/axios.js
@@ -41,7 +41,7 @@
       config.url = baseUrl + config.url;
     }
     //安全请求header
-    config.headers['areaCode'] = store?.state?.user?.userInfo?.detail?.areaCode;
+    config.headers['areaCode'] = config?.params?.areaCode || store?.state?.user?.userInfo?.detail?.areaCode;
     config.headers['Blade-Requested-With'] = 'BladeHttpRequest';
     //headers判断是否需要
     const authorization = config.authorization === false;

--
Gitblit v1.9.3