xuxueyang
2024-09-23 d7ad4f31d11d07a74814b0e177891c6b71442f20
update
已修改1个文件
9 ■■■■ 文件已修改
sub_pages/customer/coupon/good-all.vue 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
sub_pages/customer/coupon/good-all.vue
@@ -157,7 +157,14 @@
                    //刷新积分                    
                    this.$store.dispatch('getCurrentInfo');
                    await this.$message.showToast('兑换成功')
                    if (type == 'good') {
                        item.stock -= 1
                        this.$forceUpdate()
                    }
                    if (type == 'coupon') {
                        item.couponAmount -= 1
                        this.$forceUpdate()
                    }
                }
            },
            toDetail(item) {