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] }