From b6d7b0e5e0610bf91f2c7431302fe0216c4c9406 Mon Sep 17 00:00:00 2001 From: yuanteng0011 <1876787513@qq.com> Date: Sat, 26 Oct 2024 13:32:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E7=99=BB=E5=BD=95=E7=9A=84ax?= =?UTF-8?q?ios?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/myAxiso.ts | 2 +- src/views/Commodity/TypeManagement.vue | 11 ++++++++--- src/views/Login.vue | 26 +++++++++++++++++++------- 3 files changed, 28 insertions(+), 11 deletions(-) diff --git a/src/api/myAxiso.ts b/src/api/myAxiso.ts index e1f0785..0105c53 100644 --- a/src/api/myAxiso.ts +++ b/src/api/myAxiso.ts @@ -2,7 +2,7 @@ import axios from "axios"; const myAxios = axios.create({ withCredentials:true, - baseURL: '123.249.108.160:8080/api'//测试服务器 + baseURL: 'http://127.0.0.1:8888/api'//测试服务器 }); // 添加请求拦截器 axios.interceptors.request.use(function (config) { diff --git a/src/views/Commodity/TypeManagement.vue b/src/views/Commodity/TypeManagement.vue index 246d5b5..32052b0 100644 --- a/src/views/Commodity/TypeManagement.vue +++ b/src/views/Commodity/TypeManagement.vue @@ -1,6 +1,6 @@