-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
0.2.2 throw error in IE11 #210
Comments
Edge 为啥会需要 es6-shim |
这是 11 😅 |
sorrycc/roadhog#419 加了 polyfill 还是报错。 |
|
polyfill 我直接用 |
现在报的是 React 的渲染问题,本地 IE11 下依然没法看,所以比较难排查。 |
应该是某个页面 React 的渲染问题?我引入 |
你本地 IE11 可以调试? |
可以啊,虚拟机。 |
见鬼了,明天来看看。 |
https://github.com/ant-design/ant-design-pro/blob/master/src/index.js#L3 polyfill 要加最前面,dva 前面。 |
还有加了 |
http://preview.pro.ant.design/ 在 IE 11 下已经可用,调试环境的问题还在解决。 |
开发环境,暂时不要用 IE 吧。。。 |
ie语法错误,是roadhog的问题 roadhog 1.2.2 在开发环境下js文件中有非业务代码的箭头函数导致IE浏览器报语法错误 ,先自己本地改node_modules里的东西,等roadhog更新。。 |
@yesmeck 开发环境看IE主要是看浏览器兼容性等问题 |
这个还用修吗? |
pro 没啥好做的,关了吧 |
ok,好久了 看着难受 |
@babel/polyfill 引入这个还是报错 |
Hi, Just add inside tag in index.html <script src=”https://cdn.polyfill.io/v2/polyfill.min.js"></script> |
提示语法错误,页面显示空白。
The text was updated successfully, but these errors were encountered: