fix: improve cloud mount scanning feedback

This commit is contained in:
ShukeBta
2026-06-10 18:46:30 +08:00
parent 6a892d6549
commit 0bf983cec8
19 changed files with 1414 additions and 119 deletions
+2 -2
View File
@@ -99,9 +99,9 @@ export const cloudAPI = {
.post(`/admin/cloud/${type}/import`, { ref, name, size })
.then((r) => r.data),
mount: (type: StorageType, dir = '', name = '', media_type = 'movie') =>
mount: (type: StorageType, dir = '', name = '', media_type = 'movie', dir_path = '') =>
api
.post(`/admin/cloud/${type}/mount`, { dir, name, media_type })
.post(`/admin/cloud/${type}/mount`, { dir, dir_path, name, media_type })
.then((r) => r.data),
qrStart: (type: StorageType) =>