Explorar o código

证书详情title

zweizhao %!s(int64=7) %!d(string=hai) anos
pai
achega
9b2cf587c2
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  1. 8 0
      pages/index/cert/id.vue

+ 8 - 0
pages/index/cert/id.vue

@@ -35,6 +35,14 @@ export default {
       detail: res.data
     }
   },
+  head() {
+    return {
+      title: `${this.detail.name}证书-程序员客栈`,
+      meta: [
+        // { hid: 'description', name: 'description', content: 'My custom description' }
+      ]
+    }
+  },
   data() {
     return {}
   },