Skip to content

Commit 5a3ae2a

Browse files
committed
【代码优化】商城: 限时折扣活动新增 spu 保存 fix
1 parent f07c74d commit 5a3ae2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/views/mall/promotion/discountActivity/DiscountActivityForm.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ const spuPropertyList = ref<SpuProperty<DiscountActivityApi.SpuExtension>[]>([])
9090
const spuIds = ref<number[]>([])
9191
const selectSpu = (spuId: number, skuIds: number[]) => {
9292
// TODO puhui999: 艿艿现在限时折扣活动可以选择多个 spu ,那么 spuId 是不是得改成 spuIds 来存放多个?🤣
93+
// TODO @puhui999:DiscountActivityDO 不存 spuId,在 DiscountProductDO 存储哈。
9394
formRef.value.setValues({ spuId })
9495
getSpuDetails(spuId, skuIds)
9596
}

0 commit comments

Comments
 (0)