h5/pages/driver/index.vue
@@ -1,7 +1,7 @@ <template> <view class="main_app"> <view class="title_wrap"> <view class="name">{{ driverInfo.realname }},欢迎登录~</view> <view class="name">{{ driverInfo.realname || driverInfo.username }},欢迎登录~</view> <view class="btn" @click="loginOut">退出登录</view> </view> <!-- -->