From c14f01c0c3c11eb067253f3d097d207a3e238ccc Mon Sep 17 00:00:00 2001 From: mxd <838425805@qq.com> Date: Thu, 22 Jul 2021 20:48:40 +0800 Subject: [PATCH] fix --- magic-editor/src/console/src/scripts/parsing/parser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magic-editor/src/console/src/scripts/parsing/parser.js b/magic-editor/src/console/src/scripts/parsing/parser.js index c60e355a..c20f4273 100644 --- a/magic-editor/src/console/src/scripts/parsing/parser.js +++ b/magic-editor/src/console/src/scripts/parsing/parser.js @@ -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){