问题修复优化

This commit is contained in:
2026-01-14 16:33:36 +08:00
parent 657d9d3e37
commit bafa5f6b69
3 changed files with 7 additions and 6 deletions

View File

@@ -11,8 +11,8 @@
</svg>
</div>
<div>
<h1 class="text-lg font-semibold text-gray-900">{{ publicConfig.config.site?.name || '文件中转站' }}</h1>
<p v-if="showDescription" class="text-xs text-gray-500">{{ publicConfig.config.site?.description || '安全便捷的文件暂存服务' }}</p>
<h1 class="text-lg font-semibold text-gray-900">{{ config.site?.name || '文件中转站' }}</h1>
<p v-if="showDescription" class="text-xs text-gray-500">{{ config.site?.description || '安全便捷的文件暂存服务' }}</p>
</div>
</router-link>
</div>
@@ -65,7 +65,7 @@ defineProps<{
}>()
const route = useRoute()
const publicConfig = usePublicConfig()
const { config } = usePublicConfig()
const isAdminRoute = computed(() => route.path.includes('/admin'))
</script>