html52.com
我爱小程序-开发者交流社区

wx.switchTab 跳转刷新?

代码片段

wx.switchTab({

url: '../index/index',
success: function (e) {
var page = getCurrentPages().pop();
if (page == undefined || page == nullreturn;
page.onLoad();
}

})

相关问题

开发者工具刷会刷新跳转后的页面  真机调试直接刷新了当前页再跳转


网友回复

是柿子啊:

麻烦提供出现问题的具体机型、微信版本号、系统版本号,以及能复现问题的代码片段https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

真正的个人免签约支付接口

云免签H5支付