🎨 dropCurrentLayout

This commit is contained in:
Vanessa 2023-05-11 11:25:03 +08:00
parent 68af8463db
commit 8f2144b9df

View file

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