Refactor file handling in LibraryMergeService to use move instead of copy for audio, lyrics, and cover files. Update MergeTab.vue to include a warning about files being moved to the main library.

This commit is contained in:
liu
2026-01-30 00:17:28 +08:00
parent 89be3ba0bd
commit 7170df2aee
2 changed files with 14 additions and 7 deletions

View File

@@ -36,6 +36,13 @@
</el-input>
</el-form-item>
<div class="strategy-tip merge-tip">
<el-icon class="tip-icon"><Warning /></el-icon>
<div class="tip-content">
<strong>重要提示</strong>文件会<strong>移动</strong>到主库源目录 staging 中的文件会被移走不保留歌词和封面一并移动
</div>
</div>
<el-form-item label="合并策略">
<el-checkbox v-model="form.smartUpgrade">启用智能升级</el-checkbox>
<el-checkbox v-model="form.keepBackup">保留旧版本备份</el-checkbox>