mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 dropCurrentLayout
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user