From 65defbf8738d687c67c0686b60c68b0cf0b34845 Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Tue, 10 May 2022 17:15:34 +0800 Subject: [PATCH] fix issue --- templates/repo/modelarts/trainjob/index.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/modelarts/trainjob/index.tmpl b/templates/repo/modelarts/trainjob/index.tmpl index d27ee66fd..edb146d7e 100755 --- a/templates/repo/modelarts/trainjob/index.tmpl +++ b/templates/repo/modelarts/trainjob/index.tmpl @@ -239,7 +239,7 @@ const params = new URLSearchParams(location.search) if(!location.search){ $('.default.text').text(all) }else{ - if(params.has('listType') && params.get('listType')=='all'){ + if(!params.has('listType') || params.get('listType')=='all'){ $('.default.text').text(all) } else{