🐛fix a bug
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
import { useServerStoreHook } from "@/store/modules/server";
|
||||
import { getSystemLog } from "@/api/dashboard";
|
||||
import { reactive } from "vue";
|
||||
import {getClientConnects, offlineClient} from "@/api/clients";
|
||||
import {Refresh} from "@element-plus/icons-vue";
|
||||
import {message} from "@/utils/message";
|
||||
import { getClientConnects, offlineClient } from "@/api/clients";
|
||||
import { Refresh } from "@element-plus/icons-vue";
|
||||
import { message } from "@/utils/message";
|
||||
|
||||
defineOptions({
|
||||
name: "Dashboard"
|
||||
@@ -87,7 +87,13 @@ getClientsStatus();
|
||||
<template #header>
|
||||
<div class="card-header">
|
||||
<span>操作日志</span>
|
||||
<el-button style="float: right" type="primary" :icon="Refresh" @click="refreshClick('systemLog')">刷新</el-button>
|
||||
<el-button
|
||||
style="float: right"
|
||||
type="primary"
|
||||
:icon="Refresh"
|
||||
@click="refreshClick('systemLog')"
|
||||
>刷新</el-button
|
||||
>
|
||||
</div>
|
||||
</template>
|
||||
<el-table
|
||||
@@ -194,7 +200,13 @@ getClientsStatus();
|
||||
<template #header>
|
||||
<div class="card-header">
|
||||
<span>客户端链接状态</span>
|
||||
<el-button style="float: right" type="primary" :icon="Refresh" @click="refreshClick('clientStatus')">刷新</el-button>
|
||||
<el-button
|
||||
style="float: right"
|
||||
type="primary"
|
||||
:icon="Refresh"
|
||||
@click="refreshClick('clientStatus')"
|
||||
>刷新</el-button
|
||||
>
|
||||
</div>
|
||||
</template>
|
||||
<el-table
|
||||
@@ -256,11 +268,7 @@ getClientsStatus();
|
||||
min-width="80"
|
||||
align="center"
|
||||
/>
|
||||
<el-table-column
|
||||
label="操作"
|
||||
min-width="80"
|
||||
align="center"
|
||||
>
|
||||
<el-table-column label="操作" min-width="80" align="center">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
v-if="scope.row.isOnline"
|
||||
|
Reference in New Issue
Block a user