src/components/ex-header/index.vue
@@ -170,9 +170,12 @@ class="tab-list1-icon-right"> </div> </div> <van-button color="#1D91FF" class="w-full h-80" style="margin-top: 4rem;" type="info" @click="loginOut"> {{ $t('退出') }} </van-button> <div v-if="this.$store.state.user.userInfo.token"> <van-button color="#1D91FF" class="w-full h-80" style="margin-top: 4rem;" type="info" @click="loginOut"> {{ $t('退出') }} </van-button> </div> </div> <div style="width: 100%; height: 100px;"></div> </div>