🎨 dropCurrentLayout

This commit is contained in:
Vanessa 2023-05-11 11:24:38 +08:00
parent 418b934b25
commit 68af8463db

View file

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