Browse Source

提交代码,右对齐。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.7.1
zouap 3 years ago
parent
commit
df7b23b64d
1 changed files with 11 additions and 10 deletions
  1. +11
    -10
      templates/repo/modelmanage/convertIndex.tmpl

+ 11
- 10
templates/repo/modelmanage/convertIndex.tmpl View File

@@ -380,21 +380,22 @@
$(function(){
$('#choice_model').dropdown({
onChange:function(value){
$("#choice_model").addClass("loading")
$('#choice_version').dropdown('clear')
$('#choice_file').dropdown('clear')
$("#model-version").empty()
$("#model-file").empty()
loadModelVersion(value)
$("#choice_model").addClass("loading")
$('#choice_version').dropdown('clear')
$('#choice_file').dropdown('clear')
$("#model-version").empty()
$("#model-file").empty()
loadModelVersion(value)
$("#choice_model").removeClass("loading")
}
})

$('#choice_version').dropdown({
onChange:function(value){
console.log("model version:" + value);
$('#choice_version input[name="ModelVersion"]').val(value)
loadModelFile(value);
console.log("model version:" + value);
$('#choice_version input[name="ModelVersion"]').val(value)
loadModelFile(value);
}
})



Loading…
Cancel
Save