This commit is contained in:
mxd
2021-07-22 20:48:40 +08:00
parent 1b67c9b8ce
commit c14f01c0c3

View File

@@ -842,7 +842,7 @@ function getType(object) {
if(type === 'Integer' && Number(object.span.getText()) > 0x7fffffff || Number(object.span.getText()) < -0x80000000){
return 'Long'
}
return type === 'null' ? 'Object' : '';
return type === 'null' ? 'Object' : type;
}
export function parseJson(bodyStr){