...
|
...
|
@@ -263,6 +263,15 @@ export default { |
|
|
|
|
|
richText.querySelectorAll('.yhproduct').forEach(ele => {
|
|
|
productSknList.push(ele.dataset.option);
|
|
|
|
|
|
// 前后会有一个 <br /> 把这个BR去掉
|
|
|
if (ele.nextSibling.nodeName === 'BR') {
|
|
|
ele.nextSibling.remove();
|
|
|
}
|
|
|
|
|
|
if (ele.previousSibling.nodeName === 'BR') {
|
|
|
ele.previousSibling.remove();
|
|
|
}
|
|
|
});
|
|
|
|
|
|
this.fetchProductBySknList({ productSknList, articleId: vm.data.articleId });
|
...
|
...
|
|