wx.switchTab写法是哪里错了吗?不跳转
<view bindtap=“tz”>跳转</view>
tapname: function (){
wx.switchTab({
url: ‘…/pages/lianxi/lianxi’,
success:function(e){
var page = getCurrrentPages().pop();
if(pany == undefined ||page==null) return;
page.onShow();
}
})
}