cloud-web-corejs 1.1.0-dev.4 → 1.1.0-dev.5

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.1.0-dev.4",
4
+ "version": "1.1.0-dev.5",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
7
7
  "dev:micro": "vue-cli-service serve --port 17527",
@@ -757,7 +757,7 @@ export default {
757
757
  let userInfo = res.objx;
758
758
  this.headPhotoUrl = userInfo.headPhotoUrl
759
759
  ? userInfo.headPhotoUrl
760
- : require("@/resources/images" + "/default-header.png");
760
+ : (require("@/resources/images/default-header.png").default || require("@/resources/images/default-header.png"));
761
761
  this.userInfo = userInfo;
762
762
  },
763
763
  });
@@ -355,7 +355,7 @@ export default {
355
355
  let userInfo = res.objx;
356
356
  this.headPhotoUrl = userInfo.headPhotoUrl
357
357
  ? userInfo.headPhotoUrl
358
- : require("@/resources/images" + "/default-header.png");
358
+ : (require("@/resources/images/default-header.png").default || require("@/resources/images/default-header.png"));
359
359
 
360
360
  this.userInfo = userInfo;
361
361
  },
@@ -594,7 +594,7 @@ export default {
594
594
  let userInfo = res.objx;
595
595
  this.headPhotoUrl = userInfo.headPhotoUrl
596
596
  ? userInfo.headPhotoUrl
597
- : require("@/resources/images" + "/default-header.png");
597
+ : (require("@/resources/images/default-header.png").default || require("@/resources/images/default-header.png"));
598
598
 
599
599
  this.userInfo = userInfo;
600
600
  },
@@ -483,7 +483,7 @@ export default {
483
483
  let userInfo = res.objx;
484
484
  this.headPhotoUrl = userInfo.headPhotoUrl
485
485
  ? userInfo.headPhotoUrl
486
- : require("@/resources/images" + "/default-header.png");
486
+ : (require("@/resources/images/default-header.png").default || require("@/resources/images/default-header.png"));
487
487
 
488
488
  this.userInfo = userInfo;
489
489
  this.initServiceProviderRole();