fix TransferHistoryView

This commit is contained in:
jxxghp
2024-09-21 17:33:32 +08:00
parent 4434d7b8c9
commit 1efd0a3d5b
4 changed files with 42 additions and 21 deletions
+23
View File
@@ -0,0 +1,23 @@
export const storageOptions = [
{
title: '本地',
value: 'local',
},
{
title: '阿里云盘',
value: 'alipan',
},
{
title: '115网盘',
value: 'u115',
},
{
title: 'Rclone网盘',
value: 'rclone',
},
]
export const storageDict = storageOptions.reduce((dict, item) => {
dict[item.value] = item.title
return dict
}, {} as Record<string, string>)
+4
View File
@@ -71,6 +71,10 @@ export interface Subscribe {
export interface TransferHistory {
// ID
id: number
// 源存储
src_storage?: string
// 目标存储
dest_storage?: string
// 源目录
src?: string
// 目的目录