This commit is contained in:
Vanessa 2023-04-09 17:29:19 +08:00
parent aa5f5ddc5f
commit 35853cfedb
5 changed files with 36 additions and 20 deletions

View file

@ -24,11 +24,7 @@ export const processMessage = (response: IWebSocketData) => {
/// #if MOBILE
window.location.reload();
/// #else
if (isWindow()) {
window.location.reload();
} else {
exportLayout(true);
}
exportLayout(true);
/// #endif
return false;
}