From 031d83828a20b7bc56c1723fe4eaa67fd9d8cd07 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期四, 14 十二月 2023 00:44:12 +0800 Subject: [PATCH] update 代码规范化 --- src/views/monitor/online/index.vue | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/views/monitor/online/index.vue b/src/views/monitor/online/index.vue index cbab805..6bde45c 100644 --- a/src/views/monitor/online/index.vue +++ b/src/views/monitor/online/index.vue @@ -61,10 +61,9 @@ </template> <script setup name="Online" lang="ts"> -import { forceLogout, list as initData } from "@/api/monitor/online"; -import { OnlineQuery, OnlineVO } from "@/api/monitor/online/types"; -import api from "@/api/system/user"; -import {to} from "await-to-js"; +import { forceLogout, list as initData } from '@/api/monitor/online'; +import { OnlineQuery, OnlineVO } from '@/api/monitor/online/types'; +import { to } from 'await-to-js'; const { proxy } = getCurrentInstance() as ComponentInternalInstance; const { sys_device_type } = toRefs<any>(proxy?.useDict('sys_device_type')); @@ -106,9 +105,9 @@ if (!err) { await forceLogout(row.tokenId); await getList(); - proxy?.$modal.msgSuccess("鍒犻櫎鎴愬姛"); + proxy?.$modal.msgSuccess('鍒犻櫎鎴愬姛'); } -} +}; onMounted(() => { getList(); -- Gitblit v1.9.3