console.log(word);
wx.navigateTo({
url: "../wordDetail/wordDetail?_Data="+word,
success: (result) => {},
fail: (res) => {},
complete: (res) => {}
})
跳转页面:
onLoad: function (options) {
console.log(JSON.parse(options));
}
跳转前可以看到数据,跳转后不行只显示对象类型,如下图