可以方法:
onTabItemTap: function() { this.onShow(); },
文档:https://developers.weixin.qq.com/miniprogram/dev/reference/api/Page.html#onTabItemTap-Object-object