Skip to content

Commit

Permalink
perf: update nav side
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaviilee committed Dec 8, 2024
1 parent b74d552 commit 7cd2e2a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/list/list_nav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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: [],
Expand All @@ -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,
},
};
Expand Down

0 comments on commit 7cd2e2a

Please sign in to comment.