|
|
@ -2,7 +2,6 @@ |
|
|
|
import Search from "./search/index.vue"; |
|
|
|
import Notice from "./notice/index.vue"; |
|
|
|
import mixNav from "./sidebar/mixNav.vue"; |
|
|
|
import avatars from "@/assets/avatars.jpg"; |
|
|
|
import { useNav } from "@/layout/hooks/useNav"; |
|
|
|
import Breadcrumb from "./sidebar/breadCrumb.vue"; |
|
|
|
import topCollapse from "./sidebar/topCollapse.vue"; |
|
|
@ -83,7 +82,10 @@ const { t, locale, translationCh, translationEn } = useTranslationLang(); |
|
|
|
<!-- 退出登录 --> |
|
|
|
<el-dropdown trigger="click"> |
|
|
|
<span class="el-dropdown-link navbar-bg-hover select-none"> |
|
|
|
<img v-if="avatars" :src="avatars" :style="avatarsStyle" /> |
|
|
|
<img |
|
|
|
src="https://avatars.githubusercontent.com/u/44761321?v=4" |
|
|
|
:style="avatarsStyle" |
|
|
|
/> |
|
|
|
<p v-if="username" class="dark:text-white">{{ username }}</p> |
|
|
|
</span> |
|
|
|
<template #dropdown> |
|
|
|