mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 23:56:42 +08:00
自定义存储类型添加索引以区分不同的自定义存储
This commit is contained in:
@@ -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: {},
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user