Authored by QC-L

修复使用 async 报错的问题 review by 黄敬囿

... ... @@ -14,26 +14,31 @@
"author": "",
"license": "MIT",
"dependencies": {
"@tarojs/async-await": "1.0.7",
"@tarojs/components": "1.0.7",
"@tarojs/redux": "1.0.7",
"@tarojs/router": "1.0.7",
"@tarojs/taro": "1.0.7",
"@tarojs/taro-h5": "1.0.7",
"@tarojs/taro-weapp": "1.0.7",
"@tarojs/async-await": "^1.1.0-beta.13",
"@tarojs/components": "^1.1.0-beta.13",
"@tarojs/redux": "^1.1.0-beta.13",
"@tarojs/router": "^1.1.0-beta.13",
"@tarojs/taro": "^1.1.0-beta.13",
"@tarojs/taro-h5": "^1.1.0-beta.13",
"@tarojs/taro-weapp": "^1.1.0-beta.13",
"charenc": "0.0.2",
"crypt": "0.0.2",
"index": "^0.4.0",
"is-buffer": "^2.0.3",
"nervjs": "^1.3.0",
"querystringify": "^2.1.0",
"redux": "^4.0.0",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.3.0"
"redux-thunk": "^2.3.0",
"symbol-observable": "^1.2.0"
},
"devDependencies": {
"@tarojs/cli": "1.0.7",
"@tarojs/plugin-babel": "1.0.7",
"@tarojs/plugin-csso": "1.0.7",
"@tarojs/plugin-sass": "1.0.7",
"@tarojs/plugin-uglifyjs": "1.0.7",
"@tarojs/webpack-runner": "1.0.7",
"@tarojs/cli": "^1.1.0-beta.13",
"@tarojs/plugin-babel": "^1.1.0-beta.13",
"@tarojs/plugin-csso": "^1.1.0-beta.13",
"@tarojs/plugin-sass": "^1.1.0-beta.13",
"@tarojs/plugin-uglifyjs": "^1.1.0-beta.13",
"@tarojs/webpack-runner": "^1.1.0-beta.13",
"@types/react": "16.3.14",
"@types/webpack-env": "^1.13.6",
"babel-eslint": "^8.2.3",
... ... @@ -43,10 +48,10 @@
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-preset-env": "^1.6.1",
"eslint": "^4.19.1",
"eslint-config-taro": "1.0.7",
"eslint-config-taro": "^1.1.0-beta.13",
"eslint-plugin-import": "^2.12.0",
"eslint-plugin-react": "^7.8.2",
"eslint-plugin-taro": "1.0.7",
"eslint-plugin-taro": "^1.1.0-beta.13",
"node-sass": "^4.9.3",
"query-string": "^6.2.0"
}
... ...
... ... @@ -29,7 +29,7 @@
"list": []
},
"miniprogram": {
"current": 5,
"current": 10,
"list": [
{
"id": 0,
... ... @@ -90,6 +90,12 @@
"name": "订单列表",
"pathName": "pages/orderList/index",
"query": ""
},
{
"id": 10,
"name": "测试",
"pathName": "pages/nativeTest/nativeTest",
"query": ""
}
]
}
... ...
import Taro, { Component } from '@tarojs/taro'
import '@tarojs/async-await'
import { Provider, connect } from '@tarojs/redux'
import { bindActionCreators } from 'redux';
import Index from './pages/index'
... ...
This diff could not be displayed because it is too large.