From 9069918d87026563d647f488a8c0e5105093ea80 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期四, 31 十月 2024 10:18:28 +0800 Subject: [PATCH] 优化部分页面及配置 --- src/config/axios/service.ts | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/config/axios/service.ts b/src/config/axios/service.ts index ca80c90..7e6ac07 100644 --- a/src/config/axios/service.ts +++ b/src/config/axios/service.ts @@ -201,7 +201,7 @@ const refreshToken = async () => { axios.defaults.headers.common['tenant-id'] = getTenantId() - return await axios.post(base_url + 'http://172.16.8.100:48080/admin-api/system/auth/refresh-token?refreshToken=' + getRefreshToken()) + return await axios.post('http://localhost:48080/admin-api/system/auth/refresh-token?refreshToken=' + getRefreshToken()) } const handleAuthorized = () => { const { t } = useI18n() -- Gitblit v1.9.3