Commit bb482bf782e3161fe018656fcdd022449e0f30b2
1 parent
32b41944
注释多余代码
Showing
1 changed file
with
0 additions
and
8 deletions
src/components/tabBox/tabBox.vue
| @@ -102,14 +102,6 @@ | @@ -102,14 +102,6 @@ | ||
| 102 | // 获取爱心屋全部商品数据 | 102 | // 获取爱心屋全部商品数据 |
| 103 | this.shopRecommendGoods(this.paging.commodity.page) | 103 | this.shopRecommendGoods(this.paging.commodity.page) |
| 104 | }, | 104 | }, |
| 105 | - methods(){ | ||
| 106 | - // 初始化的时选中关爱屋 | ||
| 107 | - if(this.tabbar&&this.tabbar[0]&&this.tabbar[0].ads){ | ||
| 108 | - debugger | ||
| 109 | - this.tabbaromponents = this.tabbar[0].ads | ||
| 110 | - console.log(this.tabbaromponents) | ||
| 111 | - } | ||
| 112 | - }, | ||
| 113 | methods: { | 105 | methods: { |
| 114 | onChange(name, title) { | 106 | onChange(name, title) { |
| 115 | // 切换tab时判断展示哪个组件 | 107 | // 切换tab时判断展示哪个组件 |