【代码优化】代码格式化

This commit is contained in:
卢越 committed 2024-09-05 15:15:19 +08:00
1 parent 4870231b61
commit 4f941df55c
2 files changed
+2 -1

No files matched your search

@@ -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)
}
})