feat(v1.4.6): 文件夹右键批量重命名文件(前缀/后缀/全替换+子目录+实时预览)

This commit is contained in:
jinghui committed 2026-11-18 20:57:08 +08:00
1 parent 7d0023949b
commit 58900d0d45
10 files changed
+596 -11

No files matched your search

+6
View File
@@ -19,3 +19,9 @@ export async function status(taskId) {
export async function cancel(taskId) {
return api.post(`/batch/cancel/${taskId}`);
}
/** 批量重命名预览(不执行),返回 { count, total, samples: [{from,to}], skipped } */
export async function renamePreview(payload) {
// payload: { libraryId, folder, options: { mode, text, includeSubdirs } }
return api.post('/batch/rename-preview', payload);
}