王通 hace 2 años
padre
commit
492821896c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/forest.vue

+ 1 - 1
src/views/forest.vue

@@ -1056,7 +1056,7 @@
       },
       getWebSocketEvent(data) {
         let that = this
-        const event = data
+        let event = data
         if (typeof data != 'object') {
           event = JSON.parse(data);
         }