mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-07 17:28:50 +01:00
🐛 Android 端无法复制数据仓库密钥 Fix https://github.com/siyuan-note/siyuan/issues/5198
This commit is contained in:
parent
b1e34173e0
commit
3fe6b83a7e
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ export const writeText = async (text: string) => {
|
|||
window.JSAndroid.writeClipboard(text);
|
||||
return;
|
||||
}
|
||||
if (window.siyuan.config.system.container === "ios" && window.webkit?.messageHandlers) {
|
||||
if ("ios" === window.siyuan.config.system.container && window.webkit?.messageHandlers) {
|
||||
window.webkit.messageHandlers.setClipboard.postMessage(text);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue