分包使用时报错,为什么?
发布于 7 年前 作者 fzou 5859 次浏览 来自 问答

{

“pages”: [

“pages/index/index”,

“pages/index/getPhone”,

“pages/answerDetail/index”,

“pages/enrollClass/index”,

“pages/analysisDetail/index”,

“pages/teacherRecruit/index”,

“pages/index/search/index”,

“pages/index/feedback/index”,

“pages/teacherRecruit/filterPage/index”,

“pages/teacherRecruit/filterPage/result”,

“pages/exclusiveWeekly/index”

],

“window”: {

“backgroundTextStyle”: “light”,

“navigationBarBackgroundColor”: “#ffffff”,

“navigationBarTitleText”: “”,

“navigationBarTextStyle”: “black”

},

“networkTimeout”: {

“request”: 20000

},

“permission”: {

“scope.userLocation”: {

“desc”: “奇集需要获取你的位置以便提供更好的内容推荐服务”

}

},

“plugins”: {

“chatbot”: {

“version”: “1.1.5”,

“provider”: “wx8c631f7e9f2465e1”

}

},

“navigateToMiniProgramAppIdList”: [

“wx99418b7b5cdcc4d4”,

“wxfd65f86c2f5acfe5”,

“wxa2c453d902cdd452”,

“wxacb0d039490c6049”

],

“subPackages”: [

{

“root”: “packageA”,

“pages”: [

“result/index”,

“components/errTitleBook”,

“components/questionList”,

“teacherExplain/index”,

“teacherExplain/web-view”,

“specialPractice/index”,

“specialPractice/specialPracticeDetail”,

“vipCenter/index”,

“teacherWiki/index”,

“teacherWiki/teacherWikiDetail”,

“downloadCenter/index”,

“vipCenter/userAgreement”,

“personalCenter/index”,

“components/chatRobot”

]

},

{

“root”: “pages”,

“pages”: [

“forExam/index”

]

}

]

}

1 回复

参考提示,主包文件路径不要在分包中

回到顶部