From 0be7ded08ab5d6841d32a935cec9c04d43100cd7 Mon Sep 17 00:00:00 2001 From: zouap Date: Tue, 28 Jun 2022 09:29:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81=EF=BC=8C?= =?UTF-8?q?=E5=8F=B3=E5=AF=B9=E9=BD=90=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- templates/repo/modelmanage/convertIndex.tmpl | 32 ++++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/templates/repo/modelmanage/convertIndex.tmpl b/templates/repo/modelmanage/convertIndex.tmpl index 7e3dd5181..a81ce6d5d 100644 --- a/templates/repo/modelmanage/convertIndex.tmpl +++ b/templates/repo/modelmanage/convertIndex.tmpl @@ -192,23 +192,23 @@
-
+
- +
-
+
- +
-
+
-
+
@@ -233,7 +233,7 @@
-
+
-
+
@@ -256,7 +256,7 @@
-
+
@@ -267,7 +267,7 @@
-
+
@@ -276,7 +276,7 @@
-
+
@@ -286,7 +286,7 @@
-
+
@@ -381,7 +381,7 @@ $(function(){ $('#choice_model').dropdown({ onChange:function(value){ - $(".ui.dropdown.selection.search.width70").addClass("loading") + $("#choice_model").addClass("loading") $('#choice_version').dropdown('clear') $('#choice_file').dropdown('clear') $("#model-version").empty() @@ -435,7 +435,7 @@ train_html += '
' } $("#model-name").append(train_html) - $(".ui.dropdown.selection.search.width83").removeClass("loading") + $("#choice_model").removeClass("loading") $('#choice_model .default.text').text(nameList[0]) loadModelVersion(nameList[0]) }) @@ -481,7 +481,7 @@ function loadModelVersion(value){ console.log("value=" + value); if(value ==null || value ==""){ - $(".ui.dropdown.selection.search.width70").removeClass("loading") + }else{ let nameMap = modelData.nameMap let versionList = nameMap[value] @@ -492,7 +492,7 @@ train_html += '
' } $("#model-version").append(train_html) - $(".ui.dropdown.selection.search.width70").removeClass("loading") + $('#choice_version .default.text').text(versionList[0].Version) $('#choice_version input[name="ModelVersion"]').val(versionList[0].ID) loadModelFile(versionList[0].ID);