Parcourir la source

fix:分享优化

qiao il y a 3 mois
Parent
commit
2e45744674
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4 0
      src/pages/yj/[id].vue

+ 4 - 0
src/pages/yj/[id].vue

@@ -498,6 +498,10 @@ function goBack() {
 }
 useSeoMeta({
   title: "游记详情",
+  ogTitle: detailData?.projectTitle || '精美热门游记',
+  description: '逍遥游,乐逍遥,自由自在',
+  ogDescription: detailData?.projectTitle || '精美热门游记',
+  ogImage: '',
 });
 onMounted(() => {
   getComments()