lrf402788946 4 년 전
부모
커밋
29b42e74d7
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      src/layout/index/top-right.vue

+ 1 - 2
src/layout/index/top-right.vue

@@ -31,7 +31,7 @@ export default {
   async created() {
     await this.init();
   },
-  mounted() {
+  async mounted() {
     this.channel();
     if (this.serveTime) {
       this.searchNode();
@@ -89,7 +89,6 @@ export default {
     },
     onMessage(message) {
       let data = JSON.parse(message.body).filter(i => i.node != 'gpu01');
-      console.log(data.length);
       this.$set(this, 'hyjdTotal', data.length);
     },
   },