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

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

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