Closed cody880910 closed 1 year ago
lib/client.js var buffer = request.proto.constructor.encode(request); 修改为: var buffer = Object.getPrototypeOf(request).constructor.encode(request);
lib/protocol/encoder.js const writer = aggBody.proto.constructor.encode(aggBody); 修改为: const writer = Object.getPrototypeOf(aggBody).constructor.encode(aggBody);
2天内发布5.3.1版本,修改这个问题
lib/client.js var buffer = request.proto.constructor.encode(request); 修改为: var buffer = Object.getPrototypeOf(request).constructor.encode(request);
lib/protocol/encoder.js const writer = aggBody.proto.constructor.encode(aggBody); 修改为: const writer = Object.getPrototypeOf(aggBody).constructor.encode(aggBody);