mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 23:56:42 +08:00
更新 FetchMediasAction 组件,调整下拉框选项格式为包含值和标题的对象
This commit is contained in:
@@ -100,7 +100,7 @@ const sourceTypeOptions = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
// 计算下拉框
|
// 计算下拉框
|
||||||
const sourceOptions = computed(() => innerList.map(item => item.name))
|
const sourceOptions = computed(() => innerList.map(item => ({ value: item.api_path, title: item.name })))
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
loadExtraRecommendSources()
|
loadExtraRecommendSources()
|
||||||
|
|||||||
Reference in New Issue
Block a user