| | |
| | | import useUser from '@/hooks/user'; |
| | | import Menu from '@/components/menu/index.vue'; |
| | | import MessageBox from '../message-box/index.vue'; |
| | | import login from '@/assets/images/icon-logo.png'; |
| | | |
| | | const appStore = useAppStore(); |
| | | const userStore = useUserStore(); |
| | |
| | | const { changeLocale, currentLocale } = useLocale(); |
| | | const { isFullscreen, toggle: toggleFullScreen } = useFullscreen(); |
| | | const locales = [...LOCALE_OPTIONS]; |
| | | const avatar = computed(() => { |
| | | return userStore.avatar; |
| | | }); |
| | | const avatar = login; |
| | | //const avatar = computed(() => { |
| | | // return userStore.avatar; |
| | | //}); |
| | | const theme = computed(() => { |
| | | return appStore.theme; |
| | | }); |