收藏
回答

如何取消小程序分包?

已经在app.json中删除分包代码,也删除了分包文件,清除了工具的缓存,为何编译后,还是分包状态?

{
  "pages": [
    "pages/index/index",
    "pages/list/list",
    "pages/detail/detail",
    "pages/about/about",
    "pages/header/header",
    "pages/serdetail/serdetail",
    "pages/footer/footer",
    "pages/enterprise/enterprise",
    "pages/environment/environment",
    "pages/honor/honor",
    "pages/partner/partner",
    "pages/characteristics/characteristics",
    "pages/services/services",
    "pages/listo/listo",
    "pages/policy/policy",
    "pages/potential/potential",
    "pages/application/application"
  ],
  "window": {
    "backgroundTextStyle""light",
    "navigationBarBackgroundColor""#fff",
    "navigationBarTitleText""汇侨跨境电商产业园",
    "navigationBarTextStyle""black"
  },
  "tabBar": {
    "color""#000000",
    "selectedColor""#0165ae",
    "list": [
      {
        "pagePath""pages/index/index",
        "text""首页",
        "iconPath""/img/home.png",
        "selectedIconPath""/img/home_select.png"
      },
      {
        "pagePath""pages/about/about",
        "text""关于汇侨",
        "iconPath""/img/about_us.png",
        "selectedIconPath""/img/about_us_select.png"
      },
      {
        "pagePath""pages/list/list",
        "text""最新资讯",
        "iconPath""/img/news.png",
        "selectedIconPath""/img/news_select.png"
      },
      {
        "pagePath""pages/footer/footer",
        "text""联系我们",
        "iconPath""/img/phone.png",
        "selectedIconPath""/img/phone_select.png"
      }
    ]
  },
  "sitemapLocation""sitemap.json"
}
回答关注问题邀请回答
收藏

1 个回答

  • Polaris
    Polaris
    2021-12-29

    你好,请问使用的工具版本是多少?可以看一下依赖分析面板里的代码依赖关系,或者进入项目详情 - 基本信息 - 分包列表 查看

    2021-12-29
    有用
    回复 1
    • 梦里人
      梦里人
      2022-01-04
      是我自己删错了,已经还原,没事了
      2022-01-04
      回复
登录 后发表内容