reghao 2 anos atrás
pai
commit
8e4f344376

+ 0 - 2
src/components/comment/Comment.vue

@@ -86,8 +86,6 @@ export default {
       }
     }
   },
-  watch: {
-  },
   created() {
     this.comments = [
       {

+ 0 - 7
src/views/home/ArticlePage.vue

@@ -165,13 +165,6 @@ export default {
       ]
     }
   },
-  watch: {
-    // 当video改变时修改标签组
-    /* video(newVal) {
-      // 将关键字以逗号分隔为数组保存到标签组
-      this.tags = newVal.keyword.split(',')
-    }*/
-  },
   created() {
     const videoId = this.$route.params.id
     console.log('Video ID -> ' + videoId)