王通 %!s(int64=2) %!d(string=hai) anos
pai
achega
492821896c
Modificáronse 1 ficheiros con 1 adicións e 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);
         }