|
|
@ -3,6 +3,7 @@ import { syncSendCmd } from 'apis/system' |
|
|
|
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 { delToken } from 'libs/token' |
|
|
|
import { formatDateTime } from 'libs/utils' |
|
|
|
import { authRoutes } from 'router/routes' |
|
|
@ -18,7 +19,6 @@ import { useLiquidStore } from '@/stores/liquidStore' |
|
|
|
import { useSealStore } from '@/stores/sealStore' |
|
|
|
import { useSystemStore } from '@/stores/systemStore' |
|
|
|
import SystemLog = System.SystemLog |
|
|
|
import { ElMessageBox } from 'element-plus' |
|
|
|
|
|
|
|
// const routes = generateRoutes() |
|
|
|
// const childrenRoutes = routes.find(r => r.path === '/')?.children || [] |
|
|
@ -200,15 +200,11 @@ const handleClose = async (item: SystemLog, key: number) => { |
|
|
|
systemStore.systemLogList.splice(key, 1) |
|
|
|
} |
|
|
|
const handleCloseAll = async () => { |
|
|
|
await ElMessageBox.confirm( |
|
|
|
'确认清除所有?', |
|
|
|
'Warning', |
|
|
|
{ |
|
|
|
await ElMessageBox.confirm('确认清除所有?', '提示', { |
|
|
|
confirmButtonText: '确认', |
|
|
|
cancelButtonText: '取消', |
|
|
|
type: 'warning', |
|
|
|
}, |
|
|
|
) |
|
|
|
}) |
|
|
|
for (let i = 0; i < systemStore.systemLogList.length; i++) { |
|
|
|
const item = systemStore.systemLogList[i] |
|
|
|
const evenid = item.uuid |
|
|
|