Commit 5a1764d3 by Sxy

fix: 日志

parent 5b89f153
......@@ -21,7 +21,7 @@ class logCtl extends CtlBase {
messageBody = messageBody ? JSON.parse(messageBody) : {}
resultInfo = resultInfo ? JSON.parse(resultInfo) : {}
let status;
if (resultInfo && (resultInfo.status === 0 || !resultInfo.status)) {
if (resultInfo && (resultInfo.status === 0 || !resultInfo.status || resultInfo.status === 1)) {
status = "SUCCESS"
} else {
status = "FAIL"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment