小程序踩坑记

1: 命令行: wepy init standard my-project  创建项目,  wepy build --watch实时编译项目,控制台报错(如下图).

thirdScriptError
sdk uncaught third Error
regeneratorRuntime is not defined
ReferenceError: regeneratorRuntime is not defined

 解决方案:   ES6 转ES5,前面√ 去掉.

原文地址:https://www.cnblogs.com/xiaoxiaossrs/p/10517766.html