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

更友好的错误提示 #69

Open
peichao01 opened this issue May 15, 2014 · 0 comments
Open

更友好的错误提示 #69

peichao01 opened this issue May 15, 2014 · 0 comments

Comments

@peichao01
Copy link

比如当 tab-pannel 误写错了,会提示null 没有 get属性之类的,是否可以在组件初始化的时候,就检查一下,一些必须的 dom、className 等是否存在,如果不存在直接提示还缺少什么,这样就免去了一些调试的工作。

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