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

使用mpvue,npm引入,报错 Fly is not defined #159

Closed
dylanLii opened this issue Nov 29, 2018 · 11 comments
Closed

使用mpvue,npm引入,报错 Fly is not defined #159

dylanLii opened this issue Nov 29, 2018 · 11 comments

Comments

@dylanLii
Copy link

这是我引入的方式import Fly from 'flyio/dist/npm/wx',后来我修改源码,
在791行左右
return new Fly(engine || wxEngine);
Fly前面加了一个
,

@Luooojunnn
Copy link

你好,怎么解决的?

@DestinyHunter
Copy link

同样 .0.6.5 版本有问题

@DestinyHunter
Copy link

796 行 var Fly 多了一个

@DestinyHunter
Copy link

786

@kinder1995
Copy link

建议回退0.6.0版本

@dylanLii
Copy link
Author

791行 Fly前面缺少一个下划线,或者786行多了一个下划线

@dylanLii
Copy link
Author

我去了791行下划线可以使用了

@ytianzaishui
Copy link

我醉了,怪不得昨天好好的,今天gg了,害了我一小时

@dylanLii
Copy link
Author

1543548662 1

@navcat
Copy link

navcat commented Dec 3, 2018

"flyio": "0.6.4" 这样可以解决

@wendux
Copy link
Owner

wendux commented Dec 6, 2018

此问题和#156 是同一问题,已解决,请升级至0.6.6重试

@wendux wendux closed this as completed Dec 6, 2018
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

7 participants