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

disable-scroll=true 导致无法加载 #104

Open
JasperMorrison opened this issue May 21, 2020 · 2 comments
Open

disable-scroll=true 导致无法加载 #104

JasperMorrison opened this issue May 21, 2020 · 2 comments

Comments

@JasperMorrison
Copy link

VM114:1 ./page/component/pages/all/index.wxml
unexpected character "
2 |
3 | <canvas style="width: 400px; height: 500px;border:1px;position:absolute;top:0px;left:0px; border:1px solid black;"

4 | canvas-id="circle" disable-scroll=true bindtouchstart="bindtouchstart" bindtouchmove="bindtouchmove" bindtouchend="bindtouchend" bindtap="bindtap" bindlongpress="bindlongpress">
| ^
5 |
at files://page/component/pages/all/index.wxml#4

发现是disable-scroll=true 导致的,删除它错误消失。

@JasperMorrison
Copy link
Author

请改成:disable-scroll="true"

@Ale-cc
Copy link

Ale-cc commented Apr 23, 2023

image
全局替换成disable-scroll="true"就行了

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