feat: Shading model

# Conflicts:
#	front-agent/WebContent/ide
This commit is contained in:
root 2021-07-06 01:45:21 +08:00
parent 698b76babb
commit 8d56502a87

View File

@ -361,7 +361,10 @@ function onExecuteResult(obj) {
const executeResultTitleEl = $("#executeResultTitle");
const data = obj;
var sytleTail = "未知格式";
if (data.result instanceof Object) {
if (data.result==undefined) {
styleTail = "Undefined";
data.result = "";
} else if (data.result instanceof Object) {
sytleTail = "JSON格式";
data.result =JSON.stringify(data.result);
} else if (typeof data.result == 'string') {