🎨优化
This commit is contained in:
parent
b75fc53d59
commit
6715ce35c9
@ -44,6 +44,6 @@ export const getClientConnects = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// 强制下线客户端
|
// 强制下线客户端
|
||||||
export const offlineClient = (id: { id: string }) => {
|
export const offlineClient = (id: string) => {
|
||||||
return http.request<any>("post", baseUri("/client/offline/" + id));
|
return http.request<any>("post", baseUri("/client/offline/" + id));
|
||||||
};
|
};
|
||||||
|
@ -71,6 +71,7 @@ const offlineClientHandler = (clientID: string) => {
|
|||||||
offlineClient(clientID).then(res => {
|
offlineClient(clientID).then(res => {
|
||||||
if (res.code === 200) {
|
if (res.code === 200) {
|
||||||
message("下线客户端成功", { type: "success" });
|
message("下线客户端成功", { type: "success" });
|
||||||
|
getClientsStatus();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user