修复401未跳转登录问题
This commit is contained in:
@@ -95,7 +95,7 @@ function commonsProcess(showLoading, httpReqCallback) {
|
|||||||
if (res.code == 401) {
|
if (res.code == 401) {
|
||||||
infoBox.showErrorToast(res.message || "请登录").then(() => {
|
infoBox.showErrorToast(res.message || "请登录").then(() => {
|
||||||
uni.redirectTo({
|
uni.redirectTo({
|
||||||
url: "/pages/login/index",
|
url: "/pages/login/login",
|
||||||
});
|
});
|
||||||
reject();
|
reject();
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user