添加终端信息查看
This commit is contained in:
parent
09c37cb6de
commit
5243d2922f
|
|
@ -186,6 +186,7 @@ const onlineUsers = ref<OnlineUserInfo[]>([]);
|
||||||
const onlineServers = ref<string[]>([]);
|
const onlineServers = ref<string[]>([]);
|
||||||
const loading = ref(false);
|
const loading = ref(false);
|
||||||
const show_host_info = ref(false);
|
const show_host_info = ref(false);
|
||||||
|
const hostInfo = ref<HostInfo>({} as HostInfo);
|
||||||
let timer: number | null = null;
|
let timer: number | null = null;
|
||||||
let timer2: number | null = null;
|
let timer2: number | null = null;
|
||||||
|
|
||||||
|
|
@ -202,6 +203,7 @@ const getServerConfigs = async () => {
|
||||||
|
|
||||||
const showHostInfo = (user:OnlineUserInfo) =>{
|
const showHostInfo = (user:OnlineUserInfo) =>{
|
||||||
show_host_info.value = true;
|
show_host_info.value = true;
|
||||||
|
hostInfo.value = user.host_info;
|
||||||
}
|
}
|
||||||
|
|
||||||
const KickOutAllOnlineUser = async() =>{
|
const KickOutAllOnlineUser = async() =>{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue