cloud-web-corejs 1.0.54-dev.76 → 1.0.54-dev.78

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "cloud-web-corejs",
3
3
  "private": false,
4
- "version": "1.0.54-dev.76",
4
+ "version": "1.0.54-dev.78",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
7
7
  "lint": "eslint --ext .js,.vue src",
@@ -48,7 +48,7 @@
48
48
  "vue-ls": "^4.2.0",
49
49
  "vue-router": "3.0.2",
50
50
  "vuex": "3.1.0",
51
- "vxe-table": "^3.6.17",
51
+ "vxe-table": "3.5.4",
52
52
  "xlsx": "0.14.1",
53
53
  "zxing": "^0.1.2"
54
54
  },
@@ -366,7 +366,6 @@ export default {
366
366
  }
367
367
  },
368
368
  rourteTo(route) {
369
- debugger
370
369
  let path = route.url || route.path;
371
370
  if (!path) {
372
371
  return
@@ -39,6 +39,17 @@ export default {
39
39
  this.type = 1;
40
40
  }
41
41
  });
42
+ }else if (url.indexOf('token=platform_token') >= 0) {
43
+ this.$http({
44
+ url: YX_PREFIX + `/fundPlatform/getToken`,
45
+ method: `post`,
46
+ data: {},
47
+ isLoading: true,
48
+ success: res => {
49
+ this.url = url.replace('token=platform_token', 'token=' + res.objx);
50
+ this.type = 1;
51
+ }
52
+ });
42
53
  } else if (url.indexOf('token=true') >= 0) {
43
54
  let token = getToken();
44
55
  this.url = url.replace('token=true', ('token=' + token))