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

关于编译支付宝小程序使用async时报错的问题。 #292

Open
Kidwind opened this issue Aug 16, 2019 · 2 comments
Open

关于编译支付宝小程序使用async时报错的问题。 #292

Kidwind opened this issue Aug 16, 2019 · 2 comments

Comments

@Kidwind
Copy link

Kidwind commented Aug 16, 2019

在代码中使用async编译支付小程序,在控制台报错。
不支持async语法吗?
megalo-test.zip

@Kidwind
Copy link
Author

Kidwind commented Aug 19, 2019

引入这个组件后,微信小程序就会出错了,提示。
WAService.js:1 Uncaught ReferenceError: regeneratorRuntime is not defined
at async-processor.js:59
at async-processor.js:101
at Module.srcCommonUtilsAsyncProcessorJs (async-processor.js:41)
at webpack_require (bootstrap:78)
at Module.srcCommonMpUtilsAsyncProcessorJs (api.js:534)
at webpack_require (bootstrap:78)
at Module.srcAppUtilsAsyncProcessorJs (async-processor.js:1)
at webpack_require (bootstrap:78)
at Module.node_modulesBabelLoaderLibIndexJsNode_modulesMegaloTargetLibFrameworksVueLoaderScriptJsNode_modulesMegaloTargetLibLoadersMultiPlatformStyleJsNode_modulesVueLoaderLibIndexJsSrcPagesLoginVueVueTypeScriptLangJs (non-field-error-tip.vue.js:13)
at webpack_require (bootstrap:78)

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

2 participants