Browse Source

开出webSyncAction

gemercheung 3 years ago
parent
commit
38b1e95059
1 changed files with 4 additions and 4 deletions
  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)}`);
+        // }
       });
     }
   }