update onlineIDE.js
This commit is contained in:
parent
bf2ff67cfa
commit
698b76babb
@ -363,6 +363,7 @@ function onExecuteResult(obj) {
|
|||||||
var sytleTail = "未知格式";
|
var sytleTail = "未知格式";
|
||||||
if (data.result instanceof Object) {
|
if (data.result instanceof Object) {
|
||||||
sytleTail = "JSON格式";
|
sytleTail = "JSON格式";
|
||||||
|
data.result =JSON.stringify(data.result);
|
||||||
} else if (typeof data.result == 'string') {
|
} else if (typeof data.result == 'string') {
|
||||||
styleTail = "字符串格式";
|
styleTail = "字符串格式";
|
||||||
} else if (typeof data.result == 'boolean'){
|
} else if (typeof data.result == 'boolean'){
|
||||||
|
Loading…
Reference in New Issue
Block a user