style: Update styles.scss and types.ts to include config property in DownloaderConf and MediaServerConf

This commit is contained in:
jxxghp
2024-08-11 15:09:56 +08:00
parent 235eb82c45
commit 8bd0f7a589
7 changed files with 428 additions and 97 deletions

View File

@@ -98,6 +98,7 @@ function addDownloader(downloader: string) {
type: downloader,
default: false,
enabled: false,
config: {},
})
}
@@ -113,6 +114,7 @@ function addMediaServer(mediaserver: string) {
name: `服务器${mediaServers.value.length + 1}`,
type: mediaserver,
enabled: false,
config: {},
})
}
@@ -188,7 +190,7 @@ onMounted(() => {
<VIcon icon="mdi-plus" />
<VMenu activator="parent" close-on-content-click>
<VList>
<VListItem variant="plain" @click="addDownloader('qbittottent')">
<VListItem variant="plain" @click="addDownloader('qbittorrent')">
<VListItemTitle>Qbittorrent</VListItemTitle>
</VListItem>
<VListItem variant="plain" @click="addDownloader('transmission')">