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

babel 使用插件 transform-runtime 后对 promise 的判断会出问题 #39

Closed
exherb opened this issue Mar 29, 2018 · 1 comment
Closed
Labels
fixed have fixed!

Comments

@exherb
Copy link

exherb commented Mar 29, 2018

由于我们自己的源代码被 transform-runtime 处理过,所以 Promise 的类型会变成 object. 但是 fly 内部的 Promise 依然是原生的 Promise, 所以判断会出问题

我们使用的小程序 / 用了美团的 mpvue.

@wendux wendux closed this as completed in 2e67489 Mar 29, 2018
@wendux
Copy link
Owner

wendux commented Mar 29, 2018

检测方法已兼容,请升级到flyio>=0.4.5重试

@wendux wendux added the fixed have fixed! label Apr 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed have fixed!
Projects
None yet
Development

No branches or pull requests

2 participants