Skip to content

Commit

Permalink
perf: udpate side nav icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaviilee committed Nov 23, 2024
1 parent b38283c commit 30417f9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/components/list/list_nav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@

<script>
import xfmap from "@jx3box/jx3box-data/data/xf/xf.json";
import { __imgPath } from "@jx3box/jx3box-common/data/jx3box.json";
import { getAppIcon, showMountIcon } from "@jx3box/jx3box-common/js/utils";
import { __imgPath, __cdn } from "@jx3box/jx3box-common/data/jx3box.json";
import { showMountIcon } from "@jx3box/jx3box-common/js/utils";
export default {
name: "list_nav",
computed: {
Expand All @@ -62,7 +62,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 30417f9

Please sign in to comment.