From 901c4bdd52140d4a70bd053abb8b33c224d991ec Mon Sep 17 00:00:00 2001 From: From-wh Date: Mon, 20 Feb 2023 11:38:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8A=BD=E5=A5=96=E4=BC=98=E6=83=A0?= =?UTF-8?q?=E5=88=B8=E6=A0=87=E7=AD=BE=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/admin/src/pages/marketing/lottery/addGoods.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/admin/src/pages/marketing/lottery/addGoods.vue b/template/admin/src/pages/marketing/lottery/addGoods.vue index decf2880e..1ceaccf61 100644 --- a/template/admin/src/pages/marketing/lottery/addGoods.vue +++ b/template/admin/src/pages/marketing/lottery/addGoods.vue @@ -223,7 +223,7 @@ export default { let keys = Object.keys(this.editData); keys.forEach((item) => { this.formValidate[item] = this.editData[item]; - if (item === 'coupon_title') { + if (item === 'coupon_title' && this.editData[item]) { this.couponName.push({ title: this.editData[item], id: this.editData.coupon_id,