营销:适配商城装修组件【弹窗广告】

This commit is contained in:
owen
2023-12-09 15:37:24 +08:00
parent 4854cee7ca
commit d9b25ed14b
4 changed files with 22 additions and 10 deletions
+2 -2
View File
@@ -121,8 +121,8 @@ export function saveAdvHistory(adv) {
const modal = $store('modal');
modal.$patch((state) => {
if (!state.advHistory.includes(adv.src)) {
state.advHistory.push(adv.src);
if (!state.advHistory.includes(adv.imgUrl)) {
state.advHistory.push(adv.imgUrl);
}
});
}