mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +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
|
||||
window.location.reload();
|
||||
/// #else
|
||||
exportLayout(true);
|
||||
if (response.data.dropCurrentLayout) {
|
||||
window.location.reload();
|
||||
} else {
|
||||
exportLayout(true);
|
||||
}
|
||||
/// #endif
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue