Pārlūkot izejas kodu

在1e2d207aea24b5956d5ece95ed4a9db0f59f34d7这个版本中,作者删除了initData函数,但是忘记删除mounted中的this.mounted() 导致console报错

xiaoxie 3 gadi atpakaļ
vecāks
revīzija
44b7f67a20
1 mainītis faili ar 0 papildinājumiem un 1 dzēšanām
  1. 0 1
      web_src/src/components/live.vue

+ 0 - 1
web_src/src/components/live.vue

@@ -68,7 +68,6 @@
       };
     },
     mounted() {
-      this.initData();
 
     },
     created(){