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

使用变量名c 导致获取vm为null的bug #304

Open
qfgyd2004 opened this issue Dec 24, 2019 · 0 comments
Open

使用变量名c 导致获取vm为null的bug #304

qfgyd2004 opened this issue Dec 24, 2019 · 0 comments

Comments

@qfgyd2004
Copy link

qfgyd2004 commented Dec 24, 2019

image

以上代码事件不能响应, 通过调试发现,生成的页面结构 data-cid="[Object object]"
导致获取vm失败,实际上 data-cid 应该是0
把变量c重新命名以后data-cid正常,事件能正确响应了

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

1 participant