app.josn
{
"cloud": true,
"entryPagePath":"pages/home/activity",
"pages": [
"pages/home/activity",
"pages/home/index",
"pages/home/detail",
"pages/home/genealogy",
"pages/home/ebook",
"pages/home/pedigree",
"pages/home/hamlets/index",
"pages/home/hamlets/hamlet",
"pages/home/tombs/index",
"pages/home/tombs/tomb",
"pages/home/temples/index",
"pages/home/temples/temple",
"pages/home/prefaces/index",
"pages/home/prefaces/preface",
"pages/home/biographies/index",
"pages/home/biographies/biography",
"pages/home/search/index",
"pages/home/clan/index",
"pages/home/clan/album",
"pages/home/clan/append",
"pages/home/clan/update",
"pages/mime/index",
"pages/logs/logs"
],
"requiredPrivateInfos":[
"chooseLocation",
"getFuzzyLocation"
],
"permission":{
"scope.userFuzzyLocation":{
"desc":"你的位置信息将用于小程序位置接口的"
}
},
"window": {
"backgroundTextStyle": "light",
"navigationBarBackgroundColor": "#fff",
"navigationBarTitleText": "WeChat",
"navigationBarTextStyle": "black"
},
"tabBar": {
"list": [
{
"pagePath": "pages/home/activity",
"iconPath": "resources/images/activity_normal.png",
"selectedIconPath": "resources/images/activity_hot.png",
"text": "首页"
},{
"pagePath": "pages/home/index",
"iconPath": "resources/images/home_normal.png",
"selectedIconPath": "resources/images/home_hot.png",
"text": "管理"
},{
"pagePath": "pages/mime/index",
"iconPath": "resources/images/my_normal.png",
"selectedIconPath": "resources/images/my_hot.png",
"text": "我的"
}
]
},
"style": "v2",
"sitemapLocation": "sitemap.json"
}
调试状态下,小程序启动后,初始页面是pages/home/activity,可是发布版本运行后,初始页面变成了pages/home/index。
请问如何解决这个问题
请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。
您好,下面是主要代码段。
https://developers.weixin.qq.com/s/l9Jifcm37uKM
tabbar里面有"首页"、"管理"、"我的"3个页签。
调试时,显示的起始页面是“首页”
代码提交测试通过、发布出来以后,打开小程序,显示的起始页面是第二个页面“管理”,不是第一个页面“首页”