From 850a5a9838ed330b733046f16b03663538387255 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=AE=87?= <2020377497@qq.com> Date: Sat, 13 Jan 2024 17:59:08 +0800 Subject: [PATCH] upda --- store/coupon/edit.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/store/coupon/edit.vue b/store/coupon/edit.vue index 5f2c22d..6f34883 100644 --- a/store/coupon/edit.vue +++ b/store/coupon/edit.vue @@ -2,7 +2,7 @@ - + @@ -180,6 +180,9 @@ export default { } if (this.formData.coupon_type == 2) { this.formData.cats = res.data.coupon_deatil?.map(item => item.id) || [] + setTimeout(() => { + this.formData.cats = res.data.coupon_deatil?.map(item => item.id) || [] + }, 321); } }