修复401未跳转登录问题

This commit is contained in:
YeMingfei666 2025-01-07 17:27:14 +08:00
parent b244bf94d7
commit f483a8ab99
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ function commonsProcess(showLoading, httpReqCallback) {
if (res.code == 401) {
infoBox.showErrorToast(res.message || "请登录").then(() => {
uni.redirectTo({
url: "/pages/login/index",
url: "/pages/login/login",
});
reject();
});