Authored by 陈峰

withQuote逻辑去掉int的i

Showing 1 changed file with 1 additions and 1 deletions
... ... @@ -169,7 +169,7 @@ class Sender extends EventEmitter {
}
} else if (_.isInteger(value)) {
if (withQuote) {
value = value + 'i';
value = value;
}
} else if (_.isObject(value)) {
value = '"' + _.replace(JSON.stringify(value), /"/g, '\\"') + '"';
... ...