Authored by 李奇

fixed:新品到着参数

@@ -8,6 +8,7 @@ @@ -8,6 +8,7 @@
8 </div> 8 </div>
9 </template> 9 </template>
10 <script> 10 <script>
  11 + import _ from 'lodash';
11 import $ from 'jquery'; 12 import $ from 'jquery';
12 import yoho from 'yoho'; 13 import yoho from 'yoho';
13 import Vue from 'vue'; 14 import Vue from 'vue';
@@ -102,6 +103,13 @@ @@ -102,6 +103,13 @@
102 if (res.code === 200) { 103 if (res.code === 200) {
103 this.page = res.data.page; 104 this.page = res.data.page;
104 this.totalPage = res.data.page_total; 105 this.totalPage = res.data.page_total;
  106 +
  107 + // yas report param injection
  108 + _.each(res.data.product_list, item => {
  109 + item.from_page_name = this.pageName;
  110 + item.from_page_param = this.query;
  111 + });
  112 +
105 this.productList = this.productList.concat(res.data.product_list); 113 this.productList = this.productList.concat(res.data.product_list);
106 114
107 if (!this.filterConfig) { 115 if (!this.filterConfig) {