From d7bbbaa7ae6f92e46810113cb65fe25b075b6a68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Mon, 6 Mar 2023 13:39:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/coupon/index.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/system/coupon/index.vue b/src/views/system/coupon/index.vue index fe9e972..840ecf0 100644 --- a/src/views/system/coupon/index.vue +++ b/src/views/system/coupon/index.vue @@ -610,10 +610,11 @@ export default { /** 删除按钮操作 */ handleDelete(row) { const couponTitles = row.couponTitle || this.couponTitles; + const ids = row.id || this.ids; this.$modal .confirm('是否确认删除优惠券名称为"' + couponTitles + '"的数据项?') .then(function () { - return delCoupon(couponTitles); + return delCoupon(ids); }) .then(() => { this.getList();