refactor: 优化SEO标题和描述配置

This commit is contained in:
wangqiao
2025-08-30 16:28:02 +08:00
parent 8e26ae9cde
commit 316d82b3ad
8 changed files with 10 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<template>
<SeoHead :title="detail?.title" :description="detail?.description" :keywords="detail?.labels[0]" />
<SeoHead :title="detail?.title" :description="detail?.description" :keywords="detail?.labels?.toString()" />
<KlNavTab />
<div class="ml-auto mr-auto mt-[20px] w-[1440px]">
<div class="flex items-center">
@ -179,6 +179,7 @@
import { downloadFile } from '~/utils/utils'
import { useMessage } from '~/utils/useMessage'
import { Warning } from '@element-plus/icons-vue'
import SeoHead from '~/components/seo-head/index.vue'
import CardPicture from '~/components/kl-card-picture/index.vue'
import { getDetail, getRelationRecommend, report, getUserInfo, getMainWork, createContent, createUserProject, deleteProject } from '~/api/drawe-detail/index'
import KlNavTab from '~/components/kl-nav-tab/index.vue'