mirror of
http://git.coreshop.cn/jianweie/coreshoppro.git
synced 2025-12-06 18:13:26 +08:00
uniapp【修复】: 没有登录的情况loading取消
This commit is contained in:
@@ -168,9 +168,11 @@
|
||||
|
||||
async function getCart() {
|
||||
state.isManage = true;
|
||||
if (uni.getStorageSync(UserToken)) {
|
||||
if (uni.getStorageSync(UserToken)) {
|
||||
handleuGetCartList();
|
||||
}
|
||||
}else{
|
||||
loading.value = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user