瀏覽代碼

add head title

zweizhao 7 年之前
父節點
當前提交
c192da6020
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      pages/index/cert/freelancer.vue

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

@@ -36,6 +36,14 @@ export default {
       detail: ''
     }
   },
+  head () {
+    return {
+      title: '开发者资质认证- 程序员客栈',
+      meta: [
+        { hid: 'description', name: 'description', content: 'My custom description' }
+      ]
+    }
+  },
   computed: {
     isDeath() {
       return this.detail.status === '1'