From a2bcbefd389aa85e309e7cc230e4ff6119c1029c Mon Sep 17 00:00:00 2001 From: zouap Date: Wed, 13 Jul 2022 14:37:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9Bug=EF=BC=8C=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- routers/repo/ai_model_convert.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/routers/repo/ai_model_convert.go b/routers/repo/ai_model_convert.go index 4a9cb0fdd..c36e19914 100644 --- a/routers/repo/ai_model_convert.go +++ b/routers/repo/ai_model_convert.go @@ -550,6 +550,9 @@ func ShowModelConvertInfo(ctx *context.Context) { job, err := models.QueryModelConvertById(ctx.Query("ID")) if err == nil { + if job.TrainJobDuration == "" { + job.TrainJobDuration = "00:00:00" + } ctx.Data["task"] = job } else { ctx.ServerError("Not found task.", err)