mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-18 16:35:53 +08:00
feat: ✨ 优化在微信小程序中接口返回的错误信息 会被uni.hideLoading取消展示错误信息问题
This commit is contained in:
@@ -70,7 +70,7 @@ export default {
|
||||
title: "请填写内容!",
|
||||
icon: "none",
|
||||
});
|
||||
uni.hideLoading();
|
||||
if (this.$store.state.isShowToast){ uni.hideLoading() };
|
||||
return false;
|
||||
}
|
||||
API_MEM.consultating(
|
||||
@@ -86,11 +86,11 @@ export default {
|
||||
});
|
||||
this.askValue = "";
|
||||
}
|
||||
uni.hideLoading();
|
||||
if (this.$store.state.isShowToast){ uni.hideLoading() };
|
||||
})
|
||||
.catch((err) => {
|
||||
|
||||
uni.hideLoading();
|
||||
if (this.$store.state.isShowToast){ uni.hideLoading() };
|
||||
});
|
||||
},
|
||||
radioGroupChange(e) {
|
||||
|
||||
Reference in New Issue
Block a user