sunkui let protoBuf = Laya.Browser.window.protobuf; this.proto = await protoBuf.load("res/protobuf/game.proto"); var HeartBeatReq = this.proto.lookup("HeartBeatReq"); var body = HeartBeatReq.create({ "time":1 });