mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-05 23:56:42 +08:00
在 FileBrowser.vue 组件中,更新存储图标逻辑,添加默认图标以提升用户体验
This commit is contained in:
@@ -141,7 +141,7 @@ const storagesArray = computed(() => {
|
|||||||
return props.storages?.map(item => ({
|
return props.storages?.map(item => ({
|
||||||
title: item.name,
|
title: item.name,
|
||||||
value: item.type,
|
value: item.type,
|
||||||
icon: storageIconDict[item.type],
|
icon: storageIconDict[item.type] ?? 'mdi-server-network-outline',
|
||||||
}))
|
}))
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user