收藏
回答

分包加载

操作系统 工具版本
Windows 1.02.1712280


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

回答关注问题邀请回答
收藏

2 个回答

  • 工号 9527
    工号 9527
    2018-01-03

    请给下app.json 的配置

    2018-01-03
    有用
    回复
  • 🤯
    🤯
    2018-01-03

    {

    "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

    }


    2018-01-03
    有用
    回复
登录 后发表内容