pages加载顺序第一个需要list第一个相同,理由不明.
"pages": [
"pages/index/index",
"pages/logs/logs",
"pages/login/login"
],
"tabBar": {
"list": [
{
"pagePath": "pages/index/index", //如果是其他的就没法显示,,,
"text": "首页"
},
{
"pagePath": "pages/logs/logs",
"text": "日志"
}
]
}
原文地址:https://www.cnblogs.com/wolf-yasen/p/8613529.html
时间: 2024-11-08 06:22:07