This commit is contained in:
parent
425ff9a099
commit
476b283002
|
|
@ -14,7 +14,7 @@ exports.handlerDict = (_a = {},
|
|||
_a.sent();
|
||||
features.navigator.navigateTo({
|
||||
url: '/mobile/login',
|
||||
});
|
||||
}, undefined, true);
|
||||
return [2 /*return*/];
|
||||
}
|
||||
});
|
||||
|
|
@ -27,7 +27,7 @@ exports.handlerDict = (_a = {},
|
|||
_a.sent();
|
||||
features.navigator.navigateTo({
|
||||
url: '/mobile/login',
|
||||
});
|
||||
}, undefined, true);
|
||||
return [2 /*return*/];
|
||||
}
|
||||
});
|
||||
|
|
|
|||
|
|
@ -14,14 +14,22 @@ export const handlerDict: ExceptionHandlerDict<
|
|||
GeneralFeatures<EntityDict, BRC, FRC, FrcAspectDict>> = {
|
||||
[OakUnloggedInException.name]: async (features) => {
|
||||
await features.token.logout();
|
||||
features.navigator.navigateTo({
|
||||
url: '/mobile/login',
|
||||
});
|
||||
features.navigator.navigateTo(
|
||||
{
|
||||
url: '/mobile/login',
|
||||
},
|
||||
undefined,
|
||||
true
|
||||
);
|
||||
},
|
||||
[OakTokenExpiredException.name]: async (features) => {
|
||||
await features.token.logout();
|
||||
features.navigator.navigateTo({
|
||||
url: '/mobile/login',
|
||||
});
|
||||
features.navigator.navigateTo(
|
||||
{
|
||||
url: '/mobile/login',
|
||||
},
|
||||
undefined,
|
||||
true
|
||||
);
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue