Commit 58eb0de1 by 高淑倩

add: 过滤tabBar

parent bbbbaaff
......@@ -154,6 +154,9 @@ wxService.page({
wx.setNavigationBarTitle({
title: data.page.title
})
// tabBar
const currentTabBar = data.paragraphs.filter(item=> item.type == 5)
console.log('---', currentTabBar)
// 段落
const products = data.paragraphs
const filterResult = products.map((res,index)=>{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment