cloud-web-corejs 1.0.177 → 1.0.178

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.177",
4
+ "version": "1.0.178",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
7
7
  "lint": "eslint --ext .js,.vue src",
@@ -414,8 +414,10 @@ export default {
414
414
  window.open(path);
415
415
  },
416
416
  });
417
- } else if (path.indexOf("token={token}") >= 0) {
418
- path = path.replace("token={token}", "token=" + getToken());
417
+ } else{
418
+ if (path.indexOf('token={token}') >= 0) {
419
+ path = path.replace('token={token}', 'token=' + getToken())
420
+ }
419
421
  window.open(path);
420
422
  }
421
423
  }