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

Uncaught TypeError: children.at is not a function at isSimpleChildren at ResizableHeader at renderWithHooks(客户那里反应搜狗等低版本浏览器报children.at is not a function错误,更新到最新的搜狗浏览器后正常了,但是用户那里一般用的都不是最新版本的浏览器,这个问题可以解决吗) #64

Closed
keee1210 opened this issue Nov 1, 2023 · 10 comments

Comments

@keee1210
Copy link

keee1210 commented Nov 1, 2023

微信图片_20231101111953
npm 8.1.2
node v16.13.2
搜狐浏览器版本 11.0.1.34700
@minko-fe/use-antd-resizable-header 2.8.13
IDE vscode

hemengke1997 added a commit that referenced this issue Nov 1, 2023
@keee1210 keee1210 changed the title Uncaught TypeError: children.at is not a function Uncaught TypeError: children.at is not a function at isSimpleChildren at ResizableHeader at renderWithHooks(客户那里反应搜狗等低版本浏览器报children.at is not a function错误,更新到最新的搜狗浏览器后正常了,但是用户那里都是一般都不是最新版本的浏览器,这个问题可以解决吗) Nov 1, 2023
@hemengke1997
Copy link
Owner

fixed in 2.8.15

@keee1210 keee1210 changed the title Uncaught TypeError: children.at is not a function at isSimpleChildren at ResizableHeader at renderWithHooks(客户那里反应搜狗等低版本浏览器报children.at is not a function错误,更新到最新的搜狗浏览器后正常了,但是用户那里都是一般都不是最新版本的浏览器,这个问题可以解决吗) Uncaught TypeError: children.at is not a function at isSimpleChildren at ResizableHeader at renderWithHooks(客户那里反应搜狗等低版本浏览器报children.at is not a function错误,更新到最新的搜狗浏览器后正常了,但是用户那里一般用的都不是最新版本的浏览器,这个问题可以解决吗) Nov 1, 2023
@hemengke1997
Copy link
Owner

请问一下你用的什么框架,vite 还是 webpack?

@keee1210
Copy link
Author

keee1210 commented Nov 1, 2023

webpack craco

@keee1210
Copy link
Author

keee1210 commented Nov 1, 2023

你刚发布的版本我这边使用yarn 下载不了,最新只能下载到2.8.14
微信图片_20231101114219

@keee1210
Copy link
Author

keee1210 commented Nov 1, 2023

问题解决了,十分感谢

@keee1210
Copy link
Author

低版本的360极速浏览器(13.5.2044.0) 报E.at is not a function,应该也是上面的兼容问题,麻烦能解决一下吗 我们这边很多使用360浏览器的这种
微信图片_20231129165127
微信图片_20231129165114

@hemengke1997
Copy link
Owner

使用的什么版本呢

@hemengke1997 hemengke1997 reopened this Nov 29, 2023
@keee1210
Copy link
Author

2.8.15

@hemengke1997
Copy link
Owner

目前 2.9.0 打包后,库源码里面没有 at 方法

如果可以的话,麻烦你尝试升级

当然,如果想根绝此类问题发生,你可以在babel配置中添加 Array.prototype.at 的polyfill

@keee1210
Copy link
Author

好的,谢谢

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