细节调整

This commit is contained in:
kron
2025-06-26 13:41:40 +08:00
parent 159207a99d
commit 7ec435ce45
4 changed files with 24 additions and 5 deletions

View File

@@ -16,6 +16,10 @@ function request(method, url, data = {}) {
if (res.data.message.indexOf("登录身份已失效") !== -1) {
uni.removeStorageSync("token");
}
if (url.indexOf("/user/room") !== -1 && method === "GET") {
resolve({});
return;
}
uni.showToast({
title: res.data.message,
icon: "none",