|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div class="home-page-container">
|
|
|
<div class="home-page-header">
|
|
|
- <img class="portrait" :src="loginUserInfo.loginsPortrait" alt="" />
|
|
|
+ <img class="portrait" :src="loginUserInfo.loginsPortrait||defaultAvatar" alt="" />
|
|
|
<!-- <img
|
|
|
class="portrait"
|
|
|
:src="
|
|
@@ -46,7 +46,7 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
enableEditName: true,
|
|
|
- d: require("../../../static/images/avatar15.png"),
|
|
|
+ defaultAvatar: require("../../../static/images/avatar15.png"),
|
|
|
};
|
|
|
},
|
|
|
watch: {
|