提交 488441f1 编写于 作者: d-u-a's avatar d-u-a

update(mp): mp-alipay 放开TabBar API 参数不需要转换

上级 6ade603d
......@@ -14,14 +14,6 @@ const todos = [
'startAccelerometer',
'startCompass',
'addPhoneContact',
'setTabBarItem',
'setTabBarStyle',
'hideTabBar',
'showTabBar',
'setTabBarBadge',
'removeTabBarBadge',
'showTabBarRedDot',
'hideTabBarRedDot',
'setBackgroundColor',
'setBackgroundTextStyle',
'createIntersectionObserver',
......@@ -46,7 +38,15 @@ const todos = [
// 存在兼容性的 API 列表
const canIUses = [
'startPullDownRefresh'
'startPullDownRefresh',
'setTabBarItem',
'setTabBarStyle',
'hideTabBar',
'showTabBar',
'setTabBarBadge',
'removeTabBarBadge',
'showTabBarRedDot',
'hideTabBarRedDot'
]
function _handleNetworkInfo (result) {
......@@ -372,4 +372,4 @@ export {
protocols,
todos,
canIUses
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册