From 7cd2e2a4a0e16107c9358df0a161a0df4e21f27e Mon Sep 17 00:00:00 2001 From: Kaviilee Date: Sun, 8 Dec 2024 21:20:59 +0800 Subject: [PATCH] perf: update nav side --- src/components/list/list_nav.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/list/list_nav.vue b/src/components/list/list_nav.vue index cf325dc9..5898551d 100644 --- a/src/components/list/list_nav.vue +++ b/src/components/list/list_nav.vue @@ -58,6 +58,7 @@ import xfmap from "@jx3box/jx3box-data/data/xf/xf.json"; import { __ossMirror, __imgPath, __ossRoot } from "@jx3box/jx3box-common/data/jx3box.json"; import { getAppIcon, showMountIcon } from "@jx3box/jx3box-common/js/utils"; +import { __cdn } from "@jx3box/jx3box-common/data/jx3box.json"; export default { name: "list_nav", props: [], @@ -77,7 +78,9 @@ export default { isActive: function (item) { return item.name == this.$route.query.subtype; }, - getAppIcon, + getAppIcon(key) { + return __cdn + `logo/logo-light/${key}.svg` + }, showMountIcon, }, };