We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
android版本的weex是否支持 async await语法? 使用babel如下 "babel-core": "^6.26.0", "babel-loader": "^7.1.1", "babel-plugin-component": "^1.1.1", "babel-plugin-module-resolver": "^4.1.0", "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-env": "^1.7.0", "babel-preset-stage-0": "^6.24.1", "babel-runtime": "^6.26.0",
{ "compact": false, "presets": [ "env", "stage-0" ], "plugins": [ [ "transform-runtime", { "helpers": false, "polyfill": true, "regenerator": true } ], [ "component", { "libraryName": "weex-ui", "libDir": "packages", "style": false } ], [ "module-resolver", { "alias": { "^@/(.+)": "./src/\1" } } ] ] }
weex compile 后会执行async修饰的函数,但是 then 和catch 不会执行
The text was updated successfully, but these errors were encountered:
No branches or pull requests
android版本的weex是否支持 async await语法?
使用babel如下
"babel-core": "^6.26.0",
"babel-loader": "^7.1.1",
"babel-plugin-component": "^1.1.1",
"babel-plugin-module-resolver": "^4.1.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-preset-env": "^1.7.0",
"babel-preset-stage-0": "^6.24.1",
"babel-runtime": "^6.26.0",
{
"compact": false,
"presets": [
"env",
"stage-0"
],
"plugins": [
[
"transform-runtime",
{
"helpers": false,
"polyfill": true,
"regenerator": true
}
],
[
"component",
{
"libraryName": "weex-ui",
"libDir": "packages",
"style": false
}
],
[
"module-resolver",
{
"alias": {
"^@/(.+)": "./src/\1"
}
}
]
]
}
weex compile 后会执行async修饰的函数,但是 then 和catch 不会执行
The text was updated successfully, but these errors were encountered: