This commit is contained in:
aozhiwei 2023-08-17 11:20:46 +08:00
parent 757c7586a3
commit 577801c215

View File

@ -195,7 +195,7 @@ class ClientNet {
console.log('unknown command');
return;
}
const msgBody = line.slice(line.indexOf(msgName) + msgName.length + 1);
const msgBody = line.slice(line.indexOf(msgName) + msgName.length);
const msg = eval('({' + msgBody + '})');
/*const msg = {};
for (let i = 0; i < msgType.fieldsArray.length; ++i) {