wx.setTabBarItem BUG
wx.setTabBarItem({
index:0,
text: ‘设置忙时’,
iconPath: ‘/image/busy_gray.png’,
selectedIconPath: ‘/image/busy_green.png’,
success: function (res) {
console.log(‘indexBarSuccess3’, res)
},
fail: function (res) {
console.log(‘indexBarFail3’, res)
},
complete: function (res) {
console.log(‘indexBarComplete3’, res)
}
});
显示调用成功,在开发者工具上正常显示,在手机端(iPhone && Android)就是不显示。