解决方案:https://blog.csdn.net/weixin_45842078/article/details/114892742 是因为tabbar的第一个page需要配置应用默认入口页,一般都是index/index