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

引入第三方库bug #540

Closed
vivi2015 opened this issue Aug 28, 2018 · 8 comments
Closed

引入第三方库bug #540

vivi2015 opened this issue Aug 28, 2018 · 8 comments
Assignees
Labels
bug Something isn't working

Comments

@vivi2015
Copy link

vivi2015 commented Aug 28, 2018

image
不同的引入方式,使用isEqual方法时在小程序/H5下会表现不一致,moment也有同样的问题

@YikaJ
Copy link
Contributor

YikaJ commented Aug 28, 2018

+1。
希望 Taro 可以处理好 H5 和小程序组件的模块机制。

@luckyadam luckyadam self-assigned this Aug 28, 2018
@luckyadam luckyadam added the bug Something isn't working label Aug 28, 2018
@luckyadam
Copy link
Member

收到~ 3 应该才是正确的写法~ 我看看~

@luckyadam
Copy link
Member

我测试了一下,最新版本

import isEqual from 'lodash/isEqual'

这种引用方式在小程序和 H5 都正常了~

@YikaJ
Copy link
Contributor

YikaJ commented Sep 7, 2018

@luckyadam beta25 又无法支持了,只能 * as isEqual

@luckyadam
Copy link
Member

@YikaJ 没有改动这块逻辑呀😂

@YikaJ
Copy link
Contributor

YikaJ commented Sep 9, 2018

debounce_js_1.default is not a function,
uniqBy_js_1.default is not a function,
就只有 isEqual 可以正常引入,其它模块或多或少有问题

@shenghanqin
Copy link
Collaborator

@vivi2015 可以留心使用最新版本。这里先作为answered啦。

@taro-bot
Copy link

taro-bot bot commented Dec 8, 2019

Hello~

您的问题楼上已经有了确切的回答,如果没有更多的问题这个 issue 将在 15 天后被自动关闭。

如果您在这 15 天中更新更多信息自动关闭的流程会自动取消,如有其他问题也可以发起新的 Issue。

Good luck and happy coding~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants