mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-05 07:01:48 +01:00
🎨 hide msg
This commit is contained in:
parent
2be531a0cc
commit
1fbe68f728
2 changed files with 17 additions and 9 deletions
|
|
@ -5,7 +5,7 @@ import {getAllModels} from "../layout/getAll";
|
|||
import {ipcRenderer} from "electron";
|
||||
import {exportLayout} from "../layout/util";
|
||||
/// #endif
|
||||
import {showMessage} from "./message";
|
||||
import {hideMessage, showMessage} from "./message";
|
||||
import {Dialog} from "./index";
|
||||
import {isMobile} from "../util/functions";
|
||||
import {confirmDialog} from "./confirmDialog";
|
||||
|
|
@ -102,6 +102,7 @@ export const exitSiYuan = () => {
|
|||
});
|
||||
}
|
||||
} else if (response.code === 2) { // 提示新安装包
|
||||
hideMessage();
|
||||
confirmDialog(window.siyuan.languages.tip, response.msg, () => {
|
||||
fetchPost("/api/system/exit", {
|
||||
force: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue