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

taro vue3如何使用手势半屏组件draggable-sheet? #16556

Open
isKiki opened this issue Sep 19, 2024 · 4 comments
Open

taro vue3如何使用手势半屏组件draggable-sheet? #16556

isKiki opened this issue Sep 19, 2024 · 4 comments

Comments

@isKiki
Copy link

isKiki commented Sep 19, 2024

taro vue3如何在地图上使用手势半屏组件draggable-sheet?
微信图片_20240919125145
0

@TheKonka
Copy link
Member

如果你用的 taro 版本大于 v3.6.29 这个组件应该是可以直接用的,不需要用 plugin-inject 添加

@isKiki
Copy link
Author

isKiki commented Sep 20, 2024

是3.6.11的呢 但是用 plugin-inject 引入报错 请问这个问题怎么解决呢

@TheKonka
Copy link
Member

https://nervjs.github.io/taro-docs/docs/next/platform-plugin/platform-mini#31-%E7%BC%96%E5%86%99-componentsts

推荐直接升级下,小版本升级问题不大,不升级的话,你设置的初始值不符合规范,需要用JSON.stringify 包裹,还有,worklet 函数目前应该是不支持的

@isKiki
Copy link
Author

isKiki commented Sep 20, 2024

好滴 我试试~ 谢谢

This was referenced Sep 21, 2024
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