From b3d6a3dc1bf5df187439159695e6bd3aaa509be4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A0=BC=E8=B0=83main?= Date: Thu, 19 Mar 2026 13:16:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E7=99=BB=E5=BD=95=E5=8A=A0=E5=85=A5?= =?UTF-8?q?=E5=8F=96=E6=B6=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/index.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/api/index.js b/api/index.js index 1f40c58..9c96459 100644 --- a/api/index.js +++ b/api/index.js @@ -4,9 +4,9 @@ */ // 基础URL配置(注意:末尾不要加斜杠) -// const BASE_URL = 'https://guangsh.manage.hschengtai.com' +const BASE_URL = 'https://guangsh.manage.hschengtai.com' // const BASE_URL = 'http://192.168.0.97:48085' -const BASE_URL = 'http://192.168.5.134:48085' +// const BASE_URL = 'http://192.168.5.134:48085' // 是否正在刷新token(防止并发刷新) let isRefreshing = false // 等待刷新完成的请求队列 @@ -280,7 +280,8 @@ export function request(options = {}) { uni.showModal({ title: '提示', content: res.data.msg || res.data.message || '账号未登录,请前往登录', - showCancel: false, + showCancel: true, + cancelText: '取消', confirmText: '去登录', success: (modalRes) => { if (modalRes.confirm) {