From 93308666a1f2a0b7e056942b96a851069105d453 Mon Sep 17 00:00:00 2001 From: ROC Date: Fri, 15 Jul 2022 18:43:34 +0800 Subject: [PATCH] optimize user setting view --- web/src/components/rightbar.vue | 27 --------------------------- web/src/views/Setting.vue | 9 +++++++-- 2 files changed, 7 insertions(+), 29 deletions(-) diff --git a/web/src/components/rightbar.vue b/web/src/components/rightbar.vue index ee6c6035..3544bd89 100644 --- a/web/src/components/rightbar.vue +++ b/web/src/components/rightbar.vue @@ -37,33 +37,6 @@ - -
- - Roc's Me - - ROCBOSS开源社区 - - -
diff --git a/web/src/views/Setting.vue b/web/src/views/Setting.vue index d7e36517..f18024e2 100644 --- a/web/src/views/Setting.vue +++ b/web/src/views/Setting.vue @@ -48,7 +48,12 @@ round type="success" size="small" - v-if="!showNicknameEdit" + v-if=" + !showNicknameEdit && + store.state.userInfo.phone && + store.state.userInfo.phone.length > 0 && + store.state.userInfo.status == 1 + " @click="handleNicknameShow" >