🎨 使用第三方同步盘时弹出提示并退出内核 https://github.com/siyuan-note/siyuan/issues/7683

This commit is contained in:
Liang Ding 2023-03-18 15:59:17 +08:00
parent 71f3fbf2cb
commit e984082d42
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
7 changed files with 8 additions and 8 deletions

View file

@ -367,9 +367,9 @@
return
}
let msg = '⚠️ Do not set the workspace under the path of a third-party sync disk, otherwise the data will be damaged (OneDrive/Dropbox/Google Drive/Nutstore/Baidu Netdisk/Tencent Weiyun, etc.), continue?'
let msg = '⚠️ Do not set the workspace under the path of a third-party sync disk, otherwise the data will be damaged (iCloud/OneDrive/Dropbox/Google Drive/Nutstore/Baidu Netdisk/Tencent Weiyun, etc.), continue?'
if ('zh_CN' === currentLang) {
msg = '⚠️ 请勿将工作空间设置在第三方同步盘路径下否则数据会被损坏OneDrive/Dropbox/Google Drive/坚果云/百度网盘/腾讯微云等),是否继续?'
msg = '⚠️ 请勿将工作空间设置在第三方同步盘路径下,否则数据会被损坏(iCloud/OneDrive/Dropbox/Google Drive/坚果云/百度网盘/腾讯微云等),是否继续?'
}
if (!confirm(msg)) {
return