问题修复优化
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user