举例如何实现带参跳转到result页面?

8 查阅

举例如何实现带参跳转到result页面?

A.wx.redirectTo({url:'/pages/result/result?A='+this.data.A})

B.wx.redirectTo({url:'/pages/result/result?A='+A})

C.wx.redirectTo({www:'/pages/result/result?A='+this.data.A})

D.wx.redirectTo'({url:/pages/result/result?A=+this.data.A})'

参考答案:

答案:wx.redirectTo({url:'/pages/result/result?A='+this.data.A})