Skip to content

Commit

Permalink
开启应用设置
Browse files Browse the repository at this point in the history
  • Loading branch information
hooray committed Oct 19, 2023
1 parent d6a6f4f commit 229f64f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/layouts/components/Logo/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ const to = computed(() => {
</script>

<template>
<router-link :to="to" class="flex-center gap-2 w-inherit h-[var(--g-sidebar-logo-height)] px-3 no-underline" :class="{ 'cursor-pointer': settingsStore.settings.home.enable }" :title="title">
<router-link :to="to" class="flex-center gap-2 w-inherit h-[var(--g-sidebar-logo-height)] px-3 text-inherit no-underline" :class="{ 'cursor-pointer': settingsStore.settings.home.enable }" :title="title">
<img v-if="showLogo" :src="logo" class="logo w-[30px] h-[30px] object-contain">
<span v-if="showTitle" class="block font-bold text-initial truncate">{{ title }}</span>
<span v-if="showTitle" class="block font-bold truncate">{{ title }}</span>
</router-link>
</template>
3 changes: 3 additions & 0 deletions src/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import type { RecursiveRequired, Settings } from '#/global'
import settingsDefault from '@/settings.default'

const globalSettings: Settings.all = {
app: {
enableAppSetting: true,
},
toolbar: {
enableColorScheme: true,
},
Expand Down

0 comments on commit 229f64f

Please sign in to comment.