dataset.onAppend 수정

main
이범준 1 month ago
parent 5c2277767d
commit 402ae1d68b

@ -408,10 +408,13 @@
} }
}); });
} }
$P.productList.onAppend = item => { $P.productList.onAppend = (item) => {
if($P.productList._items != null && $P.productList._items.length > 0){
$P.productList._items.forEach((it)=>{it.state = "";});
}
if (!item) return; if (!item) return;
if (item.length < 1) return; if (item.length < 1) return;

@ -377,10 +377,13 @@
} }
}); });
} }
$P.productList.onAppend = item => { $P.productList.onAppend = (item) => {
if($P.productList._items != null && $P.productList._items.length > 0){
$P.productList._items.forEach((it)=>{it.state = "";});
}
if (!item) return; if (!item) return;
if (item.length < 1) return; if (item.length < 1) return;

Loading…
Cancel
Save