-
-
Notifications
You must be signed in to change notification settings - Fork 46.7k
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
RangePicker在IE 10中点击会报错 #14405
Comments
Seems react-component/calendar@ee24ca5 caused it. |
Hello @tonypig93. Please provide a online reproduction by forking this link https://u.ant.design/codesandbox-repro or a minimal GitHub repository. Issues labeled by 你好 @tonypig93, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 此处 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。7 天内未跟进的 issue 将会被自动关闭。 |
官方文档没有对旧版 IE 做 polyfill,自己项目开发的时候开启 polyfill 就行了。如果用的是 umi,可以直接配置目标游览器版本:https://umijs.org/zh/config/#targets |
我在项目已经引用了 |
开过了
|
我的在ie9下也是报这个错,开启了polyfill,还是不行,请问还需要配置什么东西吗? |
我看看我能不能在 rc 里把 polyfill 做掉,晚些时候会发个 rc-calendar 的 patch。 |
@tonypig93 @Tulipxu ,发了 |
@zombieJ 重装 |
删除 package-lock.json 或者 yarn.lock 后重装。 |
删了lock文件后重装了,版本对了但是还是会报上面的错误,具体应该是 |
可以提供下重现仓库。 |
|
Steps to reproduce
点击RangePicker
What is expected?
不会报错
What is actually happening?
控制台报错:对象不支持“getDerivedStateFromProps”属性或方法
没办法在IE 10中打开codesandbox
The text was updated successfully, but these errors were encountered: