gemercheung 3 年之前
父节点
当前提交
1478e89caa
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/controller/room/index.js

+ 2 - 0
src/controller/room/index.js

@@ -114,6 +114,8 @@ export class RoomController extends BasicController {
       // }
       this.logger.info("update-user-info:", userObj);
       updateUser(this.userId, userObj);
+      // 将更新同步一份到process
+      this.user = userObj;
       // this.sysUsers.push(this.user);
       // 只有来源于小程序用户信息才记录到redis
       if (this.isHoster(this.user.role)) {