lrf402788946 5 years ago
parent
commit
4b889a8331
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/views/index/index.vue

+ 4 - 2
src/views/index/index.vue

@@ -108,8 +108,10 @@ export default {
     corpList: [],
     siteTitle: '',
   }),
-  metaInfo: {
-    title: this.siteTitle,
+  metaInfo() {
+    return {
+      title: this.siteTitle,
+    };
   },
   async created() {
     await this.checkUser();