diff --git a/pages/mine/address/add.vue b/pages/mine/address/add.vue index dce017e..1ca7598 100644 --- a/pages/mine/address/add.vue +++ b/pages/mine/address/add.vue @@ -279,7 +279,7 @@ export default { if (this.$store.state.isShowToast){ uni.hideLoading() }; }); } - if (this.$store.state.isShowToast){ uni.hideLoading() }; + uni.hideLoading(); }, // 初始化rules必须要在onReady生命周期,因为onLoad生命周期组件可能尚未创建完毕 onReady() {