mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-13 10:25:06 +08:00
【代码优化】代码格式化
This commit is contained in:
@ -165,6 +165,7 @@ watch(
|
||||
activity.products.forEach((product) => {
|
||||
const spu = spuList.value.find((spu) => spu.id === product.spuId)
|
||||
if (spu) {
|
||||
// 哪个最便宜就赋值哪个
|
||||
spu.price = Math.min(product.combinationPrice || Infinity, spu.price || Infinity)
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user