From f446104dda24fbcb5dc349fb01f4ebc264986df3 Mon Sep 17 00:00:00 2001 From: aixianling Date: Mon, 30 May 2022 18:46:47 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E9=83=A8=E5=88=86=E6=A1=86?= =?UTF-8?q?=E6=9E=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/router/axios.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/router/axios.js b/examples/router/axios.js index 902eba3f..4b1c210d 100644 --- a/examples/router/axios.js +++ b/examples/router/axios.js @@ -11,7 +11,7 @@ instance.interceptors.request.use(config => { if (config.url.startsWith("/node")) { config.baseURL = "/ns" } else if (/\/project\/grid/.test(location.pathname)) { - config.baseURL = "/grid" + config.baseURL = "/wg" } else if (/\/project\/sass/.test(location.pathname)) { config.baseURL = "/saas" } else if (/\/xiushan/.test(location.pathname)) {