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

unexpected character 3 #3

Closed
mircle opened this issue Nov 23, 2018 · 5 comments
Closed

unexpected character 3 #3

mircle opened this issue Nov 23, 2018 · 5 comments

Comments

@mircle
Copy link

mircle commented Nov 23, 2018

VM659:2 ./page/component/pages/map/map.wxml
unexpected character 3
16 | markers="{{markers}}"
17 | covers="{{covers}}"

18 | enable-3D="{{enable3d}}"
| ^
19 | show-compass="{{showCompass}}"
20 | enable-zoom="{{enableZoom}}"
21 | enable-rotate="{{enableRotate}}"

@ele828
Copy link
Collaborator

ele828 commented Nov 23, 2018

@mircle 这个属性需要开发者工具基础库v2.3.0及以上版本才能支持,检查一下版本?

@mircle
Copy link
Author

mircle commented Nov 23, 2018

image

@mircle
Copy link
Author

mircle commented Nov 23, 2018

不是属性的问题 感觉好像是命名不符合规则 把3去掉 或者改成字母 就不会报错了

@JuneAndGreen
Copy link

@mircle 升级一下开发者工具试试?猜测这里是需要更新 wxml 的编译器。

@mircle
Copy link
Author

mircle commented Nov 23, 2018

@JuneAndGreen @ele828 开发者工具更新到 v1.02.1811150 问题解决

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

3 participants