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

ie10下运行报错 #19

Closed
liuguoxionglang opened this issue Oct 9, 2018 · 1 comment
Closed

ie10下运行报错 #19

liuguoxionglang opened this issue Oct 9, 2018 · 1 comment

Comments

@liuguoxionglang
Copy link

调试窗口报错
function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function"); //此处跑出错误
}
}
控制台报错
Warning: The component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change DynamicComponent to extend React.Component instead.
SCRIPT5022: 引发了异常但未捕获

@weiq
Copy link
Contributor

weiq commented Oct 9, 2018

暂时没测试过ie10,是否是babel-polyfill的问题

@weiq weiq closed this as completed Oct 16, 2018
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