From b83da54b70334160c8f25461cde6f8d56bedb3d3 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Sat, 16 Aug 2025 17:43:14 +0800
Subject: [PATCH] Merge branch 'feature/v5.0/5.0.3' into test

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