显示名字改为nickName

pull/10/head
孙萌 2023-10-08 16:11:20 +08:00
parent 74cc6c6f64
commit 00f278b5a4
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@
<div class="header-right" v-if="userInfo"> <div class="header-right" v-if="userInfo">
<img src="../assets/image/avatar.png" alt=""> <img src="../assets/image/avatar.png" alt="">
<div class="user-data"> <div class="user-data">
<div class="name">欢迎{{ userInfo.nickname }}</div> <div class="name">欢迎{{ userInfo.nickName }}</div>
<div class="time" v-if="time"> {{ time.year.year }}-{{ time.year.month }}-{{ time.year.date }}</div> <div class="time" v-if="time"> {{ time.year.year }}-{{ time.year.month }}-{{ time.year.date }}</div>
</div> </div>
<div class="login-out" @click="loginOut"></div> <div class="login-out" @click="loginOut"></div>