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

[mor] ✖ 绑定表达式: { class } 不符合 JS 表达式规范 #186

Open
brainee opened this issue Apr 19, 2024 · 1 comment
Open

[mor] ✖ 绑定表达式: { class } 不符合 JS 表达式规范 #186

brainee opened this issue Apr 19, 2024 · 1 comment

Comments

@brainee
Copy link

brainee commented Apr 19, 2024

Describe the bug
页面转换后,报
[mor] ✖ 绑定表达式: { class } 不符合 JS 表达式规范
无具体日志和说明

To Reproduce
https://github.com/brainee/weixin-pages-morjs/tree/main

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

@hwaphon
Copy link
Collaborator

hwaphon commented Apr 22, 2024

这个是已知问题,td-desgin 中某些组件将 class 作为自定义组件的 attribute 导致报错。在目前 mor 转 web 的实现下我们估计不会再去兼容这个问题了。在未来的不久,我们会推出新的小程序转 web 的实现链路,到时候这个问题会得到解决。

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