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) {