mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 07:00:12 +01:00
🎨 dropCurrentLayout
This commit is contained in:
parent
418b934b25
commit
68af8463db
1 changed files with 5 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue