Browse Source

[优化] 首页在没有tab的情况下的优化

new
邓平艺 4 years ago
parent
commit
e704e98d7f
  1. 1
      pages/index/index.vue

1
pages/index/index.vue

@ -166,6 +166,7 @@
getGoodsList(){ getGoodsList(){
let per_page = this.pageSize; let per_page = this.pageSize;
let tab_item = this.tab_list[this.current]; let tab_item = this.tab_list[this.current];
if(this.$shared.isValueType(tab_item) == 'undefined') return;
this.$http(this.API.API_GOODS_LIST, { this.$http(this.API.API_GOODS_LIST, {
category_id: tab_item.id, category_id: tab_item.id,
type: tab_item.type, type: tab_item.type,

Loading…
Cancel
Save