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
src/api/constants.ts Normal file
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>)