From 9b80c42df73cb99b37d95b5c0a186ceec5e45a27 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期二, 07 一月 2025 17:23:31 +0800
Subject: [PATCH] ll

---
 h5/pages/staff/index.vue |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/h5/pages/staff/index.vue b/h5/pages/staff/index.vue
index 399f671..1be8797 100644
--- a/h5/pages/staff/index.vue
+++ b/h5/pages/staff/index.vue
@@ -1,10 +1,10 @@
 <template>
 	<view class="main_app">
 		<view class="title_wrap">
-			<view class="name" v-if="userInfo.realname">{{ userInfo.realname || "" }}锛屾杩庣櫥褰曪綖</view>
+			<view class="name" v-if="userInfo.realname">{{ userInfo.realname || userInfo.username || "" }}锛屾杩庣櫥褰曪綖</view>
 			<view class="name" v-else>璇峰厛鐧诲綍</view>
 			<view class="btn" @click="loginOut">{{
-				userInfo.realname ? "閫�鍑虹櫥褰�" : "鍘荤櫥褰�"
+				userInfo.username ? "閫�鍑虹櫥褰�" : "鍘荤櫥褰�"
 			}}</view>
 		</view>
 		<view class="banner_wrap">

--
Gitblit v1.9.3