lrf402788946 4 vuotta sitten
vanhempi
commit
29b42e74d7
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  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);
     },
   },