分包加载
发布于 6 年前 作者 juanwang 8786 次浏览 来自 问答

分包里面有配置这个文件,但是在开发者工具上就一直提示错误,在手机上,页面是可以出来。

2 回复

请给下app.json 的配置

{

“pages”: [

“pages\/page10060\/page10060”,

“pages\/memberCard\/memberCard”,

“pages\/myCoupon\/myCoupon”,

“pages\/receiveCou\/receiveCou”,

“pages\/webpreview\/webpreview”,

“pages\/checkpage\/checkpage”

],

“subPackages”: [

{

“root”: “pages\/searchService”,

“pages”: [

“searchService”

]

},

{

“root”: “pages\/searchTech”,

“pages”: [

“searchTech”

]

},

{

“root”: “pages\/bespCoupon”,

“pages”: [

“bespCoupon”

]

},

{

“root”: “pages\/bespeakCenter”,

“pages”: [

“bespeakCenter”

]

},

{

“root”: “pages\/consumeDetail”,

“pages”: [

“consumeDetail”

]

},

{

“root”: “pages\/bespMember”,

“pages”: [

“bespMember”

]

},

{

“root”: “pages\/bespMemberDetail”,

“pages”: [

“bespMemberDetail”

]

},

{

“root”: “pages\/bespDetail”,

“pages”: [

“bespDetail”

]

},

{

“root”: “pages\/bespeaklist”,

“pages”: [

“bespeaklist”

]

},

{

“root”: “pages\/appointform”,

“pages”: [

“appointform”

]

},

{

“root”: “pages\/servicedetail”,

“pages”: [

“servicedetail”

]

},

{

“root”: “pages\/techniciandetail”,

“pages”: [

“techniciandetail”

]

},

{

“root”: “pages\/city_release”,

“pages”: [

“city_release”

]

},

{

“root”: “pages\/cityInfoDetail”,

“pages”: [

“cityInfoDetail”

]

},

{

“root”: “pages\/myCitybox”,

“pages”: [

“myCitybox”

]

}

],

“window”: {

“enablePullDownRefresh”: false,

“navigationBarBackgroundColor”: “#fff100”,

“navigationBarTextStyle”: “white”

},

“networkTimeout”: {

“request”: 60000,

“connectSocket”: 60000,

“uploadFile”: 60000,

“downloadFile”: 60000

},

“debug”: false

}

回到顶部