|
|
@ -4,6 +4,7 @@ import WifiConnSvg from 'assets/images/wifi-conn.svg' |
|
|
|
import WifiUnconnSvg from 'assets/images/wifi-unconn.svg' |
|
|
|
import NetReconnection from 'components/system/NetReconnection.vue' |
|
|
|
import { ElMessageBox } from 'element-plus' |
|
|
|
import { useActivateDebug } from 'hooks/useActivateDebug' |
|
|
|
import { delToken } from 'libs/token' |
|
|
|
import { formatDateTime } from 'libs/utils' |
|
|
|
import { authRoutes } from 'router/routes' |
|
|
@ -20,6 +21,8 @@ import { useSealStore } from '@/stores/sealStore' |
|
|
|
import { useSystemStore } from '@/stores/systemStore' |
|
|
|
import SystemLog = System.SystemLog |
|
|
|
|
|
|
|
const { handleLogoClick } = useActivateDebug() |
|
|
|
|
|
|
|
// const routes = generateRoutes() |
|
|
|
// const childrenRoutes = routes.find(r => r.path === '/')?.children || [] |
|
|
|
const { locale } = useI18n() |
|
|
@ -224,7 +227,7 @@ const handleCloseAll = async () => { |
|
|
|
<template> |
|
|
|
<el-container class="main"> |
|
|
|
<el-header class="header"> |
|
|
|
<div class="logo"> |
|
|
|
<div class="logo" @click="handleLogoClick"> |
|
|
|
<img src="../assets/images/logo.svg" alt=""> |
|
|
|
</div> |
|
|
|
<div class="header-menu"> |
|
|
|