feat(desktop): add HighGo database icon

This commit is contained in:
t8y2 2026-05-18 15:38:37 +08:00
parent 6713b471bc
commit 4a8c95f9b9
2 changed files with 2 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -27,6 +27,7 @@ const assetIcons: Record<string, string> = {
opengauss: "opengauss",
gaussdb: "gaussdb",
kingbase: "kingbase",
highgo: "highgo.png",
goldendb: "goldendb.png",
vastbase: "vastbase.png",
yashandb: "yashandb.png",
@ -53,9 +54,7 @@ const assetIcons: Record<string, string> = {
informix: "informix",
};
const letterIcons: Record<string, { letter: string; color: string }> = {
highgo: { letter: "瀚", color: "#005bac" },
};
const letterIcons: Record<string, { letter: string; color: string }> = {};
const normalizedType = computed(() => props.dbType.toLowerCase().replace(/[\s-]+/g, "_"));
const assetName = computed(() => assetIcons[normalizedType.value]);