diff --git a/src/views/system/vpn-server-online-user.vue b/src/views/system/vpn-server-online-user.vue index f952296..b0f83a1 100644 --- a/src/views/system/vpn-server-online-user.vue +++ b/src/views/system/vpn-server-online-user.vue @@ -186,6 +186,7 @@ const onlineUsers = ref([]); const onlineServers = ref([]); const loading = ref(false); const show_host_info = ref(false); +const hostInfo = ref({} as HostInfo); let timer: number | null = null; let timer2: number | null = null; @@ -202,6 +203,7 @@ const getServerConfigs = async () => { const showHostInfo = (user:OnlineUserInfo) =>{ show_host_info.value = true; + hostInfo.value = user.host_info; } const KickOutAllOnlineUser = async() =>{