自定义存储类型添加索引以区分不同的自定义存储

This commit is contained in:
jxxghp
2025-06-29 11:21:40 +08:00
parent e80034e7f8
commit 999fa9d9a6
@@ -159,7 +159,7 @@ async function loadMediaCategories() {
function addStorage() { function addStorage() {
storages.value.push({ storages.value.push({
name: `${t('storage.custom')} ${storages.value.length + 1}`, name: `${t('storage.custom')} ${storages.value.length + 1}`,
type: 'custom', type: `custom${storages.value.length + 1}`,
config: {}, config: {},
}) })
} }