This commit is contained in:
georgehao
2021-05-18 00:40:04 +08:00
3 changed files with 4 additions and 2 deletions

View File

@@ -735,7 +735,7 @@ func (self *TaskController) Table() {
TaskServerIdsArr := strings.Split(v.ServerIds, ",")
serverId := 0
if len(TaskServerIdsArr) > 1 {
if len(TaskServerIdsArr) > 0 {
serverId, _ = strconv.Atoi(TaskServerIdsArr[0])
}
jobskey := libs.JobKey(v.Id, serverId)