去登录加入取消

main
格调main 2026-03-19 13:16:35 +08:00
parent 9bff65377b
commit b3d6a3dc1b
1 changed files with 4 additions and 3 deletions

View File

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