We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
在1.4.1以下版本,wepy生成的项目默认都会加入promise polyfill。
在1.4.1以后的版本,需要用户手动加入,具体方法如下:
npm install wepy-async-function --save
import 'wepy-async-function';
export default class extends wepy.app { constructor () { super(); this.use('promisify'); } }