在app.json中加上
"pages": [ ... "miniprogram_dist/index/index", "miniprogram_dist/poster/index" ]
开发工具中正常,真机就问题。