提交 daf1d74c 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

feat: 支付宝小程序支持自定义tabbar

上级 c42e4adf
......@@ -20,7 +20,8 @@ module.exports = {
subPackages: true
},
copyWebpackOptions (platformOptions, vueOptions) {
const copyOptions = ['mycomponents']
const copyOptions = ['mycomponents', 'customize-tab-bar']
global.uniModules.forEach(module => {
copyOptions.push('uni_modules/' + module + '/mycomponents')
})
......
......@@ -22,6 +22,7 @@ const alipayWindowMap = {
}
const alipayTabBarMap = {
customize: 'customize',
textColor: 'color',
selectedColor: 'selectedColor',
backgroundColor: 'backgroundColor',
......@@ -145,4 +146,4 @@ module.exports = {
parseTabBar,
trimMPJson,
NON_APP_JSON_KEYS
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册