From 698b76babb160bb95a7716b4c3ccb5e93313ad65 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 5 Jul 2021 18:09:43 +0800 Subject: [PATCH] update onlineIDE.js --- js/OnlineIDE.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/OnlineIDE.js b/js/OnlineIDE.js index ea1f5b2..0c4a8ec 100644 --- a/js/OnlineIDE.js +++ b/js/OnlineIDE.js @@ -363,6 +363,7 @@ function onExecuteResult(obj) { var sytleTail = "未知格式"; if (data.result instanceof Object) { sytleTail = "JSON格式"; + data.result =JSON.stringify(data.result); } else if (typeof data.result == 'string') { styleTail = "字符串格式"; } else if (typeof data.result == 'boolean'){