Authored by QC-L

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

@@ -14,26 +14,31 @@ @@ -14,26 +14,31 @@
14 "author": "", 14 "author": "",
15 "license": "MIT", 15 "license": "MIT",
16 "dependencies": { 16 "dependencies": {
17 - "@tarojs/async-await": "1.0.7",  
18 - "@tarojs/components": "1.0.7",  
19 - "@tarojs/redux": "1.0.7",  
20 - "@tarojs/router": "1.0.7",  
21 - "@tarojs/taro": "1.0.7",  
22 - "@tarojs/taro-h5": "1.0.7",  
23 - "@tarojs/taro-weapp": "1.0.7", 17 + "@tarojs/async-await": "^1.1.0-beta.13",
  18 + "@tarojs/components": "^1.1.0-beta.13",
  19 + "@tarojs/redux": "^1.1.0-beta.13",
  20 + "@tarojs/router": "^1.1.0-beta.13",
  21 + "@tarojs/taro": "^1.1.0-beta.13",
  22 + "@tarojs/taro-h5": "^1.1.0-beta.13",
  23 + "@tarojs/taro-weapp": "^1.1.0-beta.13",
  24 + "charenc": "0.0.2",
  25 + "crypt": "0.0.2",
24 "index": "^0.4.0", 26 "index": "^0.4.0",
  27 + "is-buffer": "^2.0.3",
25 "nervjs": "^1.3.0", 28 "nervjs": "^1.3.0",
  29 + "querystringify": "^2.1.0",
26 "redux": "^4.0.0", 30 "redux": "^4.0.0",
27 "redux-logger": "^3.0.6", 31 "redux-logger": "^3.0.6",
28 - "redux-thunk": "^2.3.0" 32 + "redux-thunk": "^2.3.0",
  33 + "symbol-observable": "^1.2.0"
29 }, 34 },
30 "devDependencies": { 35 "devDependencies": {
31 - "@tarojs/cli": "1.0.7",  
32 - "@tarojs/plugin-babel": "1.0.7",  
33 - "@tarojs/plugin-csso": "1.0.7",  
34 - "@tarojs/plugin-sass": "1.0.7",  
35 - "@tarojs/plugin-uglifyjs": "1.0.7",  
36 - "@tarojs/webpack-runner": "1.0.7", 36 + "@tarojs/cli": "^1.1.0-beta.13",
  37 + "@tarojs/plugin-babel": "^1.1.0-beta.13",
  38 + "@tarojs/plugin-csso": "^1.1.0-beta.13",
  39 + "@tarojs/plugin-sass": "^1.1.0-beta.13",
  40 + "@tarojs/plugin-uglifyjs": "^1.1.0-beta.13",
  41 + "@tarojs/webpack-runner": "^1.1.0-beta.13",
37 "@types/react": "16.3.14", 42 "@types/react": "16.3.14",
38 "@types/webpack-env": "^1.13.6", 43 "@types/webpack-env": "^1.13.6",
39 "babel-eslint": "^8.2.3", 44 "babel-eslint": "^8.2.3",
@@ -43,10 +48,10 @@ @@ -43,10 +48,10 @@
43 "babel-plugin-transform-object-rest-spread": "^6.26.0", 48 "babel-plugin-transform-object-rest-spread": "^6.26.0",
44 "babel-preset-env": "^1.6.1", 49 "babel-preset-env": "^1.6.1",
45 "eslint": "^4.19.1", 50 "eslint": "^4.19.1",
46 - "eslint-config-taro": "1.0.7", 51 + "eslint-config-taro": "^1.1.0-beta.13",
47 "eslint-plugin-import": "^2.12.0", 52 "eslint-plugin-import": "^2.12.0",
48 "eslint-plugin-react": "^7.8.2", 53 "eslint-plugin-react": "^7.8.2",
49 - "eslint-plugin-taro": "1.0.7", 54 + "eslint-plugin-taro": "^1.1.0-beta.13",
50 "node-sass": "^4.9.3", 55 "node-sass": "^4.9.3",
51 "query-string": "^6.2.0" 56 "query-string": "^6.2.0"
52 } 57 }
@@ -29,7 +29,7 @@ @@ -29,7 +29,7 @@
29 "list": [] 29 "list": []
30 }, 30 },
31 "miniprogram": { 31 "miniprogram": {
32 - "current": 5, 32 + "current": 10,
33 "list": [ 33 "list": [
34 { 34 {
35 "id": 0, 35 "id": 0,
@@ -90,6 +90,12 @@ @@ -90,6 +90,12 @@
90 "name": "订单列表", 90 "name": "订单列表",
91 "pathName": "pages/orderList/index", 91 "pathName": "pages/orderList/index",
92 "query": "" 92 "query": ""
  93 + },
  94 + {
  95 + "id": 10,
  96 + "name": "测试",
  97 + "pathName": "pages/nativeTest/nativeTest",
  98 + "query": ""
93 } 99 }
94 ] 100 ]
95 } 101 }
1 import Taro, { Component } from '@tarojs/taro' 1 import Taro, { Component } from '@tarojs/taro'
  2 +import '@tarojs/async-await'
2 import { Provider, connect } from '@tarojs/redux' 3 import { Provider, connect } from '@tarojs/redux'
3 import { bindActionCreators } from 'redux'; 4 import { bindActionCreators } from 'redux';
4 import Index from './pages/index' 5 import Index from './pages/index'
This diff could not be displayed because it is too large.