From 15b117dc158277bfbab252242337a6fb4136ca91 Mon Sep 17 00:00:00 2001 From: wonfen Date: Wed, 23 Apr 2025 00:48:40 +0800 Subject: [PATCH] feat: remove cross-platform restriction on WebDAV backup restore --- UPDATELOG.md | 1 + src/components/setting/mods/backup-viewer.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/UPDATELOG.md b/UPDATELOG.md index 7a8d2308..bef5c3c9 100644 --- a/UPDATELOG.md +++ b/UPDATELOG.md @@ -22,6 +22,7 @@ - 托盘显示当前轻量模式状态 - Webdav 请求加入 UA - Webdav 支持目录重定向 + - 移除 Webdav 跨平台备份恢复限制 #### 优化了: - 系统代理 Bypass 设置 diff --git a/src/components/setting/mods/backup-viewer.tsx b/src/components/setting/mods/backup-viewer.tsx index 738b2f8a..71a6c136 100644 --- a/src/components/setting/mods/backup-viewer.tsx +++ b/src/components/setting/mods/backup-viewer.tsx @@ -79,7 +79,7 @@ export const BackupViewer = forwardRef((props, ref) => { } const backupTime = dayjs(fileBackupTimeStr[0], DATE_FORMAT); - const allowApply = OS === platform; + const allowApply = true; return { ...file, platform,