优化request

This commit is contained in:
TOP糯米 2023-03-09 17:22:05 +08:00
parent 1572cbcb65
commit 51bee8a37d
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ const request = async (args) => {
if (typeof rule.auth !== "undefined" && rule.auth === true && !$store.state.user.token) {
$store.commit("user/showLoginModal", true);
return;
throw "登录态失效";
}
(rule.showLoading) && uni.showLoading({