From e624de57bbe192f32a0ab2c7aff2bbfec32f9714 Mon Sep 17 00:00:00 2001
From: rain <1679827795@qq.com>
Date: Tue, 13 May 2025 18:02:17 +0800
Subject: [PATCH] Merge branch 'test' of http://139.196.74.78:10010/r/drone/drone-web-manage into test

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

diff --git a/src/axios.js b/src/axios.js
index 7dacdc5..76fa2d0 100644
--- a/src/axios.js
+++ b/src/axios.js
@@ -5,6 +5,7 @@
  * isSerialize是否开启form表单提交
  * isToken是否需要token
  */
+
 import axios from 'axios';
 import store from '@/store/';
 import router from '@/router/';
@@ -62,6 +63,9 @@
 			config.url = baseUrl + config.url;
 		}
 		//安全请求header
+		console.log('selectedAreaCode',store.state.user.userInfo.detail.areaCode);
+		
+		config.headers['areaCode'] = store.state.user.userInfo.detail.areaCode
 		config.headers['Blade-Requested-With'] = 'BladeHttpRequest';
 		//headers判断是否需要
 		const authorization = config.authorization === false;

--
Gitblit v1.9.3