navigateTo with an already exist webview
navigateTo with an already exist webviewId
请问这个问题怎么解决?
6 回复
onUrlClass: function (event) { //调转到新闻页
if (app.globalData.isClick) {
return
}
app.globalData.isClick = true
var classid = event.currentTarget.dataset.classid;
//console.log(“调转到新闻页” + classid);
wx.navigateTo({
url: ‘…/newslist/index?classid=’ + classid,
success: function () {
setTimeout(function () {
app.globalData.isClick = false
}, 1000)
}
});
},