pages下面新增subpages,对应根目录要创建一个subpages文件夹
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
....
}],
"subPackages": [{
"root": "subpages",
"pages": [{
"path": "news/news",
"style": {
"navigationBarTitleText": "新闻中心",
"enablePullDownRefresh": false
}
}]
}],