瀏覽代碼

修改 title

wangguoyu 4 年之前
父節點
當前提交
2e72d45550
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      pages/index.vue
  2. 1 1
      pages/news/_id.vue

+ 1 - 1
pages/index.vue

@@ -3,7 +3,7 @@
   <div class="client-index-page">
     <div style="display: none">
       <a :href="`${baseUrl}/pcdituye.html`"></a>
-      <a :href="`${baseUrl}/pcsitemap.html`"></a>
+      <a :href="`${baseUrl}/pcsitemap.xml`"></a>
     </div>
     <!-- 首页banner栏 -->
     <div class="client-banner-box">

+ 1 - 1
pages/news/_id.vue

@@ -67,7 +67,7 @@
     },
     head(){
       return {
-        title: this.infoData.keyword,
+        title: this.infoData.title,
         meta: [
           {
             hid: this.infoData.keyword,