Skip to content

使用vant组件报错 #35

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

Closed
chao opened this issue May 7, 2022 · 2 comments
Closed

使用vant组件报错 #35

chao opened this issue May 7, 2022 · 2 comments
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@chao
Copy link

chao commented May 7, 2022

描述这个Bug
引入vant weapp的组件会报错,错误信息如下:

 ERROR  Error: Unexpected char `/` in state `ATTRIBUTE_NAME` with action `SLASH`line:54,column:2

代码url

经过测试发现是vant组件里的steps组件中用了WXS 模块
image

在htmlMatcher中去掉wxcomponents就没问题了
image

@chao chao added the bug Something isn't working label May 7, 2022
@chao
Copy link
Author

chao commented May 7, 2022

非常好用的组件,感谢!

@sonofmagic
Copy link
Owner

好的,我会把你的解决方案加入Q&A文档里去,感谢!

@sonofmagic sonofmagic added documentation Improvements or additions to documentation good first issue Good for newcomers labels May 7, 2022
sonofmagic added a commit that referenced this issue May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants