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

vue3 版本,百度小程序调用原生组件 props 传参没有生效 #4830

Open
wlw620 opened this issue Apr 11, 2024 · 3 comments
Open

Comments

@wlw620
Copy link

wlw620 commented Apr 11, 2024

#4376 不知道和这个 issues 问题一样呢 ? 目前使用版本 3.0.0-alpha-3050020220623004

@wlw620
Copy link
Author

wlw620 commented Apr 11, 2024

不光是 vue3 写法,如果是页面引用组件内部使用原生组件也会出现类似的问题,props 无法获取

@StrivingRabbit
Copy link
Collaborator

不光是 vue3 写法,如果是页面引用组件内部使用原生组件也会出现类似的问题,props 无法获取

可以升级到新版 hx 试试看,这个问题是否修复

@wlw620
Copy link
Author

wlw620 commented Apr 23, 2024

不光是 vue3 的写法,如果是页面组件引用内部使用原生组件也会出现类似的问题,props 无法获取

可以升级到新版本hx试试看,这个问题是否修复

不太敢升级,变更影响范围太大了,没精力回归,目前发现 props 下字段有 function 类型 props 可以正常传递,非常诡异,所以每次我都强插了一个带函数的对象(不知道为什么,还没看源码)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants