Authored by htoo

fix(report): fix image report

... ... @@ -55,7 +55,7 @@ import ArticleDetailFooter from './article-footer';
import ArticleItemSlideImage from '../article/article-item-slide-image';
import ArticleDetailHeader from './article-header';
import YAS from 'utils/yas-constants';
import { mapState, mapMutations, createNamespacedHelpers } from 'vuex';
import { createNamespacedHelpers, mapMutations, mapState } from 'vuex';
import qs from 'qs';
const { mapState: mapArticleState, mapActions, mapGetters } = createNamespacedHelpers('article');
... ... @@ -221,8 +221,6 @@ export default {
const vm = this;
const { childNodes = [] } = richText.childNodes[0];
console.log(childNodes[0].nodeName);
// 特殊排版兼容
if (childNodes.length === 1 && childNodes[0].nodeName === 'SECTION') {
... ... @@ -255,7 +253,9 @@ export default {
// 对商品详情链接单独处理
let url = ele;
const searchParams = qs.parse(url.search.substring(1));
let openBy = searchParams['openby:yohobuy'];
let skn = searchParams.product_skn;
if (skn) {
... ...