-
Notifications
You must be signed in to change notification settings - Fork 31
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
与微信同声传译冲突 #21
Comments
能上传一个最小复现单元吗? |
https://github.com/lxzy-yun/test-miment 直接clone这个仓库好了,里面有的呢,谢谢 |
这个问题,应该是小程序的同声传译插件,阻止了 Object.setPrototypeOf 或者 xxx.proto 的设置导致的,而 miment 又依赖于 Object.setPrototypeOf 来 继承 Date 对象,提供与 Date 对象相同的 API,所以这个问题暂时无解,事实上,应该是所有用了 Object.setPrototypeOf(或者 xxx.proto) 的包,都会有问题。建议找 同声传译 反馈问题哈。 |
嗯,是的,没办法,只能又改用momentjs了 |
可以试试 dayjs,也很小 |
两者共存时,会冲突,找不到方法
The text was updated successfully, but these errors were encountered: