Pre Merge pull request !83 from 卢越/master

pull/83/MERGE
卢越 2024-08-19 09:40:55 +00:00 committed by Gitee
commit fca6758af6
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 4 additions and 0 deletions

View File

@ -133,6 +133,10 @@
activity.products.forEach((product) => {
spu.price = Math.min(spu.price, product.seckillPrice); // SPU
});
//
spu.stock = activity.stock
// - =
spu.salesCount = activity.totalStock - activity.stock
productList.value = [spu];
});
</script>