From 1a0ff0215df4b1ce38023b9d3ad37a0b041ab522 Mon Sep 17 00:00:00 2001 From: puhui999 Date: Tue, 10 Sep 2024 15:11:57 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E3=80=91=E5=95=86=E5=9F=8E:=20=E6=BB=A1=E5=87=8F=E6=B4=BB?= =?UTF-8?q?=E5=8A=A8=E8=8C=83=E5=9B=B4=E6=94=AF=E6=8C=81=E5=88=86=E7=B1=BB?= =?UTF-8?q?=E5=A4=9A=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mall/promotion/rewardActivity/RewardForm.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/mall/promotion/rewardActivity/RewardForm.vue b/src/views/mall/promotion/rewardActivity/RewardForm.vue index fc1d5dfc..9a48d857 100644 --- a/src/views/mall/promotion/rewardActivity/RewardForm.vue +++ b/src/views/mall/promotion/rewardActivity/RewardForm.vue @@ -56,7 +56,7 @@ label="分类" prop="productCategoryIds" > - + @@ -188,7 +188,7 @@ const getProductScope = async () => { case PromotionProductScopeEnum.CATEGORY.scope: await nextTick() let productCategoryIds = formData.value.productScopeValues as any - if (Array.isArray(productCategoryIds) && productCategoryIds.length > 0) { + if (Array.isArray(productCategoryIds) && productCategoryIds.length === 1) { // 单选时使用数组不能反显 productCategoryIds = productCategoryIds[0] }