Explorar o código

开出webSyncAction

gemercheung %!s(int64=3) %!d(string=hai) anos
pai
achega
38b1e95059
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      src/controller/room/index.js

+ 4 - 4
src/controller/room/index.js

@@ -294,10 +294,10 @@ export class RoomController extends BasicController {
 
     if (this.debugger) {
       this.socket.onAny((event, data) => {
-        if (event !== "webSyncAction") {
-          // console.log(`onAny:get ${event}, data:${JSON.stringify(data)}`);
-          this.logger.info(`onAny:get ${event}, data:${JSON.stringify(data)}`);
-        }
+        // if (event !== "webSyncAction") {
+        // console.log(`onAny:get ${event}, data:${JSON.stringify(data)}`);
+        this.logger.info(`onAny:get ${event}, data:${JSON.stringify(data)}`);
+        // }
       });
     }
   }