Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad attr data-event-opts with message,父子组件处理函数多参数传递问题 #1016

Closed
dingshiwei opened this issue Nov 19, 2019 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@dingshiwei
Copy link

小程序自定义组件模式编译,出现上述问题, H5正常
子组件 image
父组件
image
报错提示
image

@fxy060608
Copy link
Collaborator

暂不支持模板中使用扩展符

@dingshiwei
Copy link
Author

dingshiwei commented Nov 19, 2019

image
我换成这种写法,小程序正常了,但是h5中无法获取第二个参数
image
是不是最后,只能使用arguemnts 让参数通过类似数组的方式传递?@fxy060608

@fxy060608 fxy060608 self-assigned this Nov 21, 2019
@fxy060608 fxy060608 added the bug Something isn't working label Nov 21, 2019
@fxy060608
Copy link
Collaborator

h5 确认有问题,可以先使用单参数传递

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants