修复401未跳转登录问题

This commit is contained in:
2025-01-07 17:27:14 +08:00
parent b244bf94d7
commit f483a8ab99

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();
});