Applet error – referenceerror: regeneratorruntime is not defined

When using the wechat developer tool to import the small program to run,
there is such a bug
small program error – referenceerror: regeneratorruntime is not defined

According to the prompts given by the editor, locate the place where the error is reported
the applet reports an error when using async to request data. Referenceerror: regeneratorruntime is not defined
find the problem and solve it

terms of settlement:

Click the details button in the upper right corner
and select local settings
to remove the check of ES6 to Es5

Refresh again
and the error will no longer appear

Read More: