fix(report): fix image report
Showing
1 changed file
with
3 additions
and
3 deletions
@@ -55,7 +55,7 @@ import ArticleDetailFooter from './article-footer'; | @@ -55,7 +55,7 @@ import ArticleDetailFooter from './article-footer'; | ||
55 | import ArticleItemSlideImage from '../article/article-item-slide-image'; | 55 | import ArticleItemSlideImage from '../article/article-item-slide-image'; |
56 | import ArticleDetailHeader from './article-header'; | 56 | import ArticleDetailHeader from './article-header'; |
57 | import YAS from 'utils/yas-constants'; | 57 | import YAS from 'utils/yas-constants'; |
58 | -import { mapState, mapMutations, createNamespacedHelpers } from 'vuex'; | 58 | +import { createNamespacedHelpers, mapMutations, mapState } from 'vuex'; |
59 | import qs from 'qs'; | 59 | import qs from 'qs'; |
60 | 60 | ||
61 | const { mapState: mapArticleState, mapActions, mapGetters } = createNamespacedHelpers('article'); | 61 | const { mapState: mapArticleState, mapActions, mapGetters } = createNamespacedHelpers('article'); |
@@ -221,8 +221,6 @@ export default { | @@ -221,8 +221,6 @@ export default { | ||
221 | const vm = this; | 221 | const vm = this; |
222 | const { childNodes = [] } = richText.childNodes[0]; | 222 | const { childNodes = [] } = richText.childNodes[0]; |
223 | 223 | ||
224 | - console.log(childNodes[0].nodeName); | ||
225 | - | ||
226 | // 特殊排版兼容 | 224 | // 特殊排版兼容 |
227 | 225 | ||
228 | if (childNodes.length === 1 && childNodes[0].nodeName === 'SECTION') { | 226 | if (childNodes.length === 1 && childNodes[0].nodeName === 'SECTION') { |
@@ -255,7 +253,9 @@ export default { | @@ -255,7 +253,9 @@ export default { | ||
255 | // 对商品详情链接单独处理 | 253 | // 对商品详情链接单独处理 |
256 | let url = ele; | 254 | let url = ele; |
257 | const searchParams = qs.parse(url.search.substring(1)); | 255 | const searchParams = qs.parse(url.search.substring(1)); |
256 | + | ||
258 | let openBy = searchParams['openby:yohobuy']; | 257 | let openBy = searchParams['openby:yohobuy']; |
258 | + | ||
259 | let skn = searchParams.product_skn; | 259 | let skn = searchParams.product_skn; |
260 | 260 | ||
261 | if (skn) { | 261 | if (skn) { |
-
Please register or login to post a comment