【代码评审】商城首页的 activity name 的展示

pull/111/head
YunaiV 2024-10-01 19:00:19 +08:00
parent 146f9ddc88
commit 5f496038c5
3 changed files with 3 additions and 1 deletions

View File

@ -262,6 +262,7 @@
const spu = state.spuList.find((spu) => activity.spuId === spu.id);
if (spu) {
//
// TODO
spu.name = activity.name;
//
spu.price = Math.min(combinationPrice, spu.price);

View File

@ -262,6 +262,7 @@
const spu = state.spuList.find((spu) => activity.spuId === spu.id);
if (spu) {
//
// TODO
spu.name = activity.name;
//
spu.price = Math.min(seckillPrice, spu.price);

View File

@ -140,7 +140,7 @@ const decryptSpm = (spm) => {
query = shareParamsArray[2].split(',');
shareParams.query = {
id: query[0],
activity_id: query[1], // TODO 芋艿:接入分享后,应该统一成 id 参数
activity_id: query[1],
};
break;
case '4':