|
@@ -1,17 +1,18 @@
|
|
<script setup lang="ts">
|
|
<script setup lang="ts">
|
|
import { useI18n } from "vue-i18n";
|
|
import { useI18n } from "vue-i18n";
|
|
import { emitter } from "/@/utils/mitt";
|
|
import { emitter } from "/@/utils/mitt";
|
|
|
|
+import Notice from "./notice/index.vue";
|
|
|
|
+import avatars from "/@/assets/avatars.jpg";
|
|
|
|
+import { transformI18n } from "/@/plugins/i18n";
|
|
import Hamburger from "./sidebar/hamBurger.vue";
|
|
import Hamburger from "./sidebar/hamBurger.vue";
|
|
import { useRouter, useRoute } from "vue-router";
|
|
import { useRouter, useRoute } from "vue-router";
|
|
import { storageSession } from "/@/utils/storage";
|
|
import { storageSession } from "/@/utils/storage";
|
|
import Breadcrumb from "./sidebar/breadCrumb.vue";
|
|
import Breadcrumb from "./sidebar/breadCrumb.vue";
|
|
-import Notice from "./notice/index.vue";
|
|
|
|
import { useAppStoreHook } from "/@/store/modules/app";
|
|
import { useAppStoreHook } from "/@/store/modules/app";
|
|
import { unref, watch, getCurrentInstance } from "vue";
|
|
import { unref, watch, getCurrentInstance } from "vue";
|
|
import { deviceDetection } from "/@/utils/deviceDetection";
|
|
import { deviceDetection } from "/@/utils/deviceDetection";
|
|
import screenfull from "../components/screenfull/index.vue";
|
|
import screenfull from "../components/screenfull/index.vue";
|
|
import globalization from "/@/assets/svg/globalization.svg";
|
|
import globalization from "/@/assets/svg/globalization.svg";
|
|
-import { transformI18n } from "/@/plugins/i18n";
|
|
|
|
|
|
|
|
const instance =
|
|
const instance =
|
|
getCurrentInstance().appContext.config.globalProperties.$storage;
|
|
getCurrentInstance().appContext.config.globalProperties.$storage;
|
|
@@ -106,9 +107,7 @@ function translationEn() {
|
|
<!-- 退出登陆 -->
|
|
<!-- 退出登陆 -->
|
|
<el-dropdown trigger="click">
|
|
<el-dropdown trigger="click">
|
|
<span class="el-dropdown-link">
|
|
<span class="el-dropdown-link">
|
|
- <img
|
|
|
|
- src="https://avatars.githubusercontent.com/u/44761321?s=400&u=30907819abd29bb3779bc247910873e7c7f7c12f&v=4"
|
|
|
|
- />
|
|
|
|
|
|
+ <img :src="avatars" />
|
|
<p>{{ usename }}</p>
|
|
<p>{{ usename }}</p>
|
|
</span>
|
|
</span>
|
|
<template #dropdown>
|
|
<template #dropdown>
|