Fixed command input is disabled after error

This commit is contained in:
gongdewei
2020-04-03 17:42:39 +08:00
parent 901e8e6831
commit cce9c5e495
@@ -285,6 +285,9 @@
if (apiResponse.state == "SCHEDULED" ){
//设置当前任务jobId,禁止输入
this.setExecutingJobId(apiResponse.body.jobId);
} else {
//command process error or refused
this.setExecutingJobId(null);
}
//this.appendCommand(apiResponse);