pages.json
文件夹中pages
平级
"tabBar": {
"list": [
{
"pagePath": "pages/home/home",
"text": "首页",
"iconPath": "icon",
"selectedIconPath": "选中"
},
{
"pagePath": "pages/cate/cate",
"text": "发卡",
"iconPath": "icon",
"selectedIconPath": "选中"
},
]
}
最少配置2个tabbar不然报错