From 4a2b1c21acb3aeec0e2bcbccc2a0e4349472f84c Mon Sep 17 00:00:00 2001 From: mk <2403457699@qq.com> Date: Tue, 16 Jul 2024 16:27:42 +0800 Subject: [PATCH] =?UTF-8?q?userId=E4=BC=A0=E7=A9=BA=E5=AD=97=E7=AC=A6?= =?UTF-8?q?=E4=B8=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/request.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/request.js b/src/utils/request.js index 7a7a120..927c372 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -31,7 +31,7 @@ service.interceptors.request.use( config.headers['customerId'] = store.state.app.userInfo.customerId } if (store.state.app.userInfo.id) { - config.headers['userId'] = store.state.app.userInfo.id + config.headers['userId'] = ''; } config.baseURL = config.baseURL + '/' return config