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

react-slick 报错 object.assign undefined not a function #194

Closed
214132049 opened this issue Aug 31, 2016 · 4 comments
Closed

react-slick 报错 object.assign undefined not a function #194

214132049 opened this issue Aug 31, 2016 · 4 comments

Comments

@214132049
Copy link

本地环境

  • antd-mobile 版本:0.7.8
  • 操作系统及其版本:osx 10.11.6
  • 浏览器及其版本:chrome 52

你做了什么?

resolve: {
...
extensions: ['', '.web.js', '.js', '.json']
}
按照这种方式解决了 import antd-mobile的问题,但是在安卓版微信中轮播图报错,object.assign undefined not a function, 通过修改引用的react-slick --> lib --> inner-slider.js文件可以正常工作

你期待的结果是:

寻求更好的解决方案

实际上的结果:

可重现的在线演示

@liqi07
Copy link
Contributor

liqi07 commented Sep 1, 2016

@214132049 这个在安卓的确有兼容问题,ref #87

目前 0.8.0 已修复,请升级版本使用 😆

@afc163
Copy link
Member

afc163 commented Sep 1, 2016

akiran/react-slick#447 寻求 patch 版本未果

@214132049
Copy link
Author

@liqi07 嗯 好的 谢谢

@liqi07 liqi07 closed this as completed Sep 6, 2016
@lock
Copy link

lock bot commented May 28, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 28, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants