From f8e34d09784d1bdf5a2745953efaf8b4ca149f6c Mon Sep 17 00:00:00 2001 From: zhoupzh Date: Thu, 21 Oct 2021 12:04:52 +0800 Subject: [PATCH] fix issue #473 tips --- templates/repo/cloudbrain/new.tmpl | 4 ++-- templates/repo/modelarts/new.tmpl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/repo/cloudbrain/new.tmpl b/templates/repo/cloudbrain/new.tmpl index 42a0e55ad..f108f5a5f 100755 --- a/templates/repo/cloudbrain/new.tmpl +++ b/templates/repo/cloudbrain/new.tmpl @@ -120,7 +120,7 @@
{{template "base/alert" .}} -
+

@@ -263,7 +263,7 @@ let flag = re.test(value_task) if(!flag){ $('#messageInfo').css('display','block') - let str = '只能以小写字母或数字开头且只包含小写字母、数字、_和-、最长36个字符,不能下划线(-)结尾。' + let str = '只能以小写字母或数字开头且只包含小写字母、数字、_和-,不能以_结尾,最长36个字符。' $('#messageInfo p').text(str) return false } diff --git a/templates/repo/modelarts/new.tmpl b/templates/repo/modelarts/new.tmpl index 4aa329277..da0b83059 100755 --- a/templates/repo/modelarts/new.tmpl +++ b/templates/repo/modelarts/new.tmpl @@ -100,7 +100,7 @@
{{template "base/alert" .}} -
+