sub_pages/customer/shop/shop.vue
@@ -249,7 +249,11 @@ }, //update 关注 async updateGz(type) { async updateGz(type) { if(!this.currentInfo.id){ this.$message.showToast('请先登录') return } this.$message.showLoading() const { code @@ -339,9 +343,9 @@ }) this.$message.hideLoading() if (code === 0) { item.shopnum += addnum item.shopnum += addnum this.$forceUpdate() } this.$forceUpdate() }, }