mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 00:20:12 +01:00
This commit is contained in:
parent
a4fb57a360
commit
246ec1e2ce
2 changed files with 3 additions and 3 deletions
|
|
@ -302,7 +302,7 @@ export const exitSiYuan = async (setCurrentWorkspace = true) => {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (isInIOS()) {
|
if (isInIOS()) {
|
||||||
window.webkit.messageHandlers.exit.postMessage();
|
window.webkit.messageHandlers.exit.postMessage("");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -358,7 +358,7 @@ export const exitSiYuan = async (setCurrentWorkspace = true) => {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (isInIOS()) {
|
if (isInIOS()) {
|
||||||
window.webkit.messageHandlers.exit.postMessage();
|
window.webkit.messageHandlers.exit.postMessage("");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
2
app/src/types/index.d.ts
vendored
2
app/src/types/index.d.ts
vendored
|
|
@ -228,7 +228,7 @@ interface Window {
|
||||||
setClipboard: { postMessage: (url: string) => void }
|
setClipboard: { postMessage: (url: string) => void }
|
||||||
purchase: { postMessage: (url: string) => void }
|
purchase: { postMessage: (url: string) => void }
|
||||||
print: { postMessage: (html: string) => void }
|
print: { postMessage: (html: string) => void }
|
||||||
exit: { postMessage: () => void }
|
exit: { postMessage: (text: string) => void }
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
htmlToImage: {
|
htmlToImage: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue