mpx
mpx copied to clipboard
[Feature Request] 支持三方开发模式配置 custom-tab-bar
在 mpx 内部是通过判断 app.json 文件里的 tabBar.custom 为 true 来判断是否编译 custom-tab-bar 这个组件的,但是由于我们公司是使用三方开发的模式,是通过在提审版本时后端动态修改 ext.json 里的 tabBar 来控制的,例如商家 A 是有导航且 tabBar.custom 为 true,商家 B 是没有导航,导致无法预先在代码 app.json 中配置好 tabBar 字段。
希望可以调整为 不判断,只要根目录存在 custom-tab-bar 就进行编译
微信侧的第三方平台代开发的解释:https://developers.weixin.qq.com/miniprogram/dev/devtools/ext.html#%E7%89%B9%E6%9C%89%E7%9A%84%E5%AD%97%E6%AE%B5