From 466e474fbb8db022a6b2aae85b12b57c84ec7f57 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 5 Jul 2021 18:00:16 +0800 Subject: [PATCH] feat: try to index readme.md at front-cluster --- js/OnlineIDE.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/OnlineIDE.js b/js/OnlineIDE.js index ea1f5b2..1dc4ef9 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'){