修复401未跳转登录问题
This commit is contained in:
parent
b244bf94d7
commit
f483a8ab99
|
|
@ -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();
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue