小程序wx.navigateTo传参出错

 问题: 传参出现值"undefined"

wxml:

 JS:

结果:

问题原因:

大小写,参数没有大写字母(没学过js,不知道是不是只有小程序是这样的,勿喷)

 解决:

js里面改成小写就行,wxml也改一下

 

猜你喜欢

转载自blog.csdn.net/weixin_44422853/article/details/127416329