Skip to content

开启ES6转ES5报错,使用request出现TypeError: Promise is not a constructor #5

@mawenge

Description

@mawenge

开启ES6转ES5的情况下,会报WAService.js:3 Uncaught ReferenceError: regeneratorRuntime is not defined,如果关闭ES6转ES5,在使用request的时候有TypeError: Promise is not a constructor,开发环境是window操作系统

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions