Browse Source

修改分类显示

master
xh-pan1 11 months ago
parent
commit
6fae48201b
  1. 3
      pages/tabbar/category/index.vue

3
pages/tabbar/category/index.vue

@ -94,10 +94,11 @@
if (res.data.length === 0) {
this.ifEmpty = true
}
this.slist = res.data
this.onlyTwoLayer = !this.slist.some(function(item){
return item.childs.length>0
});
this.slist = res.data
}).catch(res => {
uni.hideLoading()
})

Loading…
Cancel
Save