在 FileBrowser.vue 组件中,更新存储图标逻辑,添加默认图标以提升用户体验

This commit is contained in:
jxxghp
2025-05-02 21:50:08 +08:00
parent 73b9663b27
commit f12c3dac9f

View File

@@ -141,7 +141,7 @@ const storagesArray = computed(() => {
return props.storages?.map(item => ({
title: item.name,
value: item.type,
icon: storageIconDict[item.type],
icon: storageIconDict[item.type] ?? 'mdi-server-network-outline',
}))
})