From 22c77339d2e22d55502e8ce992d70067ad7c480a Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Tue, 20 Jun 2023 17:35:56 +0800 Subject: [PATCH] bug --- examples/router/axios.js | 1 - project/activeAnalysis/AppActiveAnalysis/components/List.vue | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/router/axios.js b/examples/router/axios.js index 5fc3f145..f3621870 100644 --- a/examples/router/axios.js +++ b/examples/router/axios.js @@ -35,7 +35,6 @@ instance.interceptors.request.use(config => { if (['/qxn', '/analysis'].includes(config.baseURL)) { config.url = config.url.replace(/(app|auth|admin)\//, "api/") } - config.url = config.url.replace(/(app|auth|admin)\//, "api/") return config }, error => Message.error(error)) export default instance diff --git a/project/activeAnalysis/AppActiveAnalysis/components/List.vue b/project/activeAnalysis/AppActiveAnalysis/components/List.vue index 7f04c2ee..692b4d7d 100644 --- a/project/activeAnalysis/AppActiveAnalysis/components/List.vue +++ b/project/activeAnalysis/AppActiveAnalysis/components/List.vue @@ -47,6 +47,8 @@ + +