时间:2019-05-04 来源:小程序工厂
@大夏天 能不能把你配置好的两个json文件粘一下,我的是在app.json配置了全部的页面的路径。
主包跟分包都有,但是ext.json里面配置了分包的,没有主包的。审核的时候一直提示路径不一致
现在ext.json里面的pages只能取app.json里面pages的子集,如果没有变化可以不填。你检查一下ext.json里面有没有加page,再预览一下。
只要在上传代码时候设置了pages,分包页面就提示不存在了。请官方看一下问题,
第三方微信小程序如果使用分包的话只能维持代码模版的页面配置( pages/ subPackages ),暂时不支持使用ext.json更改。
如果没有变更pages配置的话,请删除extjson中的pages字段。
把ext.json里面的page删了是可以预览,但是第三方平台发布微信小程序的时候会报错,errmsg:"page is in invalid format hint: [AbC105484527]" 请问是怎么解决的
第三方平台发布微信小程序的时候还需要page不
发布的时候ext.json还需要page不呢
把ext.json里面的page删了就可以了
如何处理这个问题呢。还没看懂呢。 “你检查一下ext.json里面有没有加page,再预览一下。”
ext.json里面不要配置page就可以了
不是说ext.json里面不能有分包“subPackages”的这个字段吗,想知道你是怎么配置的
是的,就是ext.json中不要有page和subPackages这两个字段,这两个配置在app.json中就行
现在ext.json里面的pages只能取app.json里面pages的子集,如果没有变化可以不填。
你检查一下ext.json里面有没有加page,再预览一下。
这是ext.json
{
"extEnable": true,
"extAppid": "wxa1bd86cdf47df34e",
"pages": [
"pages/index/index",
"pages/category/category",
"pages/cart/cart",
"pages/member/index/index",
"pages/address/add/add",
"pages/address/list/list",
"pages/address/select/index",
"pages/allActivity/allActivity",
"pages/area/index/index",
"pages/article/detail/detail",
"pages/article/list/list",
"pages/bargain/bargain/index",
"pages/bargain/cashier/index",
"pages/bargain/detail/index",
"pages/bargain/index/index",
"pages/bargain/list/index",
"pages/canyin/index",
"pages/chainPage/chainPage",
"pages/commission/QRcode/QRcode",
"pages/commission/Withdraw/Withdraw",
"pages/commission/WithdrawDetail/WithdrawDetail",
"pages/commission/WithdrawDetailMoney/WithdrawDetailMoney",
"pages/commission/agreement/agreement",
"pages/commission/distributionPrice/distributionPrice",
"pages/commission/logs/logs",
"pages/commission/orderForm/orderForm",
"pages/commission/register/index",
"pages/commission/shopStore/index",
"pages/commission/team/team",
"pages/consultation/consultationDetail/consultationDetail",
"pages/consultation/reviewArea/reviewArea",
"pages/consultation/consultation",
"pages/customerForm/formDetail/formDetail",
"pages/customerForm/formSuccess/formSuccess",
"pages/customerForm/customerForm",
"pages/expressQuery/expressQuery",
"pages/game/fruitMachine/fruitMachine",
"pages/game/scratch/scratch",
"pages/game/wheel/wheel",
"pages/goods/detail/detail",
"pages/goods/groupDetail/detail",
"pages/goods/grouplist/list",
"pages/goods/list/list",
"pages/goods/priceKill/priceKill",
"pages/goods/shop/introduceShop/introduceShop",
"pages/goods/shop/shop",
"pages/groupbuy/cashier/index",
"pages/groupbuy/confirmOrder/index",
"pages/groupbuy/detail/index",
"pages/groupbuy/fightGroups/index",