Authored by 李奇

fixed:tf-goods组件修改

@@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
15 type: String 15 type: String
16 }, 16 },
17 pageParam: { 17 pageParam: {
18 - type: String 18 + type: String,
19 }, 19 },
20 index: { 20 index: {
21 type: [String, Number] 21 type: [String, Number]
@@ -43,6 +43,12 @@ @@ -43,6 +43,12 @@
43 PRD_SKN: this.productSkn // 商品SKN (可选) 43 PRD_SKN: this.productSkn // 商品SKN (可选)
44 }; 44 };
45 45
  46 + _.each(param, (v, k) => {
  47 + if (param.k === '') {
  48 + delete param[k];
  49 + }
  50 + });
  51 +
46 this.$parent.addIntoWaiting(param); 52 this.$parent.addIntoWaiting(param);
47 } 53 }
48 this.isVisiable = visible; 54 this.isVisiable = visible;
@@ -2,7 +2,8 @@ @@ -2,7 +2,8 @@
2 <div class="product-new" :class="{'no-header': noheader}"> 2 <div class="product-new" :class="{'no-header': noheader}">
3 <header-box title="NEW ARRIVAL"></header-box> 3 <header-box title="NEW ARRIVAL"></header-box>
4 <filter-box :val="order" :filter="filterConfig" v-if="enableOrder"></filter-box> 4 <filter-box :val="order" :filter="filterConfig" v-if="enableOrder"></filter-box>
5 - <product-list :data="productList" :state="listState" class="list-items"></product-list> 5 + <product-list :data="productList" :state="listState" class="list-items"
  6 + :report-page-name="pageName"></product-list>
6 <shopping-bag :cart-count="cartCount" v-if="isApp"></shopping-bag> 7 <shopping-bag :cart-count="cartCount" v-if="isApp"></shopping-bag>
7 </div> 8 </div>
8 </template> 9 </template>
@@ -51,8 +52,7 @@ @@ -51,8 +52,7 @@
51 cartCount: 0, 52 cartCount: 0,
52 53
53 // for yas report 54 // for yas report
54 - pageName: 'FP_BLK_New_h5',  
55 - pageParam: '' 55 + pageName: 'FP_BLK_New_h5'
56 }; 56 };
57 }, 57 },
58 computed: { 58 computed: {