tabBar有重复的页面会自动不显示吗?
tabBar有重复的页面会自动不显示吗?
工具上面显示正常:
手机预览确只显示三个:
华为P30 pro,
线上版本之前是5个菜单,最近有一段时间没发版本,刚刚看居然也变成三个了。
配置如下:
"tabBar": {
"color": "#B2B2B2",
"selectedColor":"#4777FF",
"list": [
{
"text": "首页",
"pagePath": "pages/building/index",
"iconPath": "images/zuzhi1.png",
"selectedIconPath": "images/zuzhi1.png"
},
{
"text": "公司",
"pagePath": "pages/company/company",
"iconPath": "images/zuzhi1.png",
"selectedIconPath": "images/zuzhi2.png"
},
{
"text": "上市",
"pagePath": "pages/securitiesUserInformation/securitiesUserInformation",
"iconPath": "images/jiangbei1.png",
"selectedIconPath": "images/jiangbei2.png"
},
{
"text": "分析",
"pagePath": "pages/building/index",
"iconPath": "images/fenxi1.png",
"selectedIconPath": "images/fenxi2.png"
},
{
"text": "资讯",
"pagePath": "pages/building/index",
"iconPath": "images/zixun1.png",
"selectedIconPath": "images/zixun2.png"
}
]
},