From e8531ff7680c72aaa9ae8de1e6708500c3365010 Mon Sep 17 00:00:00 2001 From: zouap Date: Thu, 17 Feb 2022 16:55:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AF=84=E6=B5=8B=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E5=87=BA=E9=94=99=E6=97=B6=E6=95=B0=E6=8D=AE=E6=81=A2?= =?UTF-8?q?=E5=A4=8D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- routers/repo/cloudbrain.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routers/repo/cloudbrain.go b/routers/repo/cloudbrain.go index a330c7572..84c93273d 100755 --- a/routers/repo/cloudbrain.go +++ b/routers/repo/cloudbrain.go @@ -1099,8 +1099,8 @@ func GetChildTypes(ctx *context.Context) { func CloudBrainBenchmarkNew(ctx *context.Context) { ctx.Data["description"] = "" - ctx.Data["benchmarkTypeID"] = "" - ctx.Data["benchmark_child_types_id_hidden"] = "" + ctx.Data["benchmarkTypeID"] = -1 + ctx.Data["benchmark_child_types_id_hidden"] = -1 err := cloudBrainNewDataPrepare(ctx) if err != nil { ctx.ServerError("get new cloudbrain info failed", err)