You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
预期结果
[使用简洁清晰的语言描述你希望生效的预期结果]
可以正确获取循环中的传参 实际结果
[这里请贴上你的报错截图或文字]
[Vue warn]: Property or method "sku" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property.
系统信息:
发行平台: [如 微信小程序、H5平台、5+ App等]
操作系统 [如 iOS 12.1.2、Android 7.0]
HBuilderX版本 [如使用HBuilderX,则需提供 HBuilderX 版本号]
uni-app版本 [如使用Vue-cli创建/运行项目,则提供npm run info的运行结果]
问题描述
[问题描述:尽可能简洁清晰地把问题描述清楚]
for循环中,同一个标签绑定多个事件的时候, 获取不到事件传参
复现步骤
[复现问题的步骤]
[或者可以直接贴源代码]
预期结果
[使用简洁清晰的语言描述你希望生效的预期结果]
可以正确获取循环中的传参
实际结果
[这里请贴上你的报错截图或文字]
[Vue warn]: Property or method "sku" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property.
系统信息:
npm run info
的运行结果]补充信息
![uniapp](https://user-images.githubusercontent.com/10492939/63646565-8df8a980-c747-11e9-952d-d01959861af7.png)
![原生vue](https://user-images.githubusercontent.com/10492939/63646567-93ee8a80-c747-11e9-91af-74464ecd593c.png)
[可选]
[根据你的分析,出现这个问题的原因可能在哪里?]
表达式转译可能有问题,for循环中的多事件绑定的没处理
图一为uniapp的,图二是原生vue的
The text was updated successfully, but these errors were encountered: