diff --git a/templates/repo/modelarts/inferencejob/new.tmpl b/templates/repo/modelarts/inferencejob/new.tmpl index 3a9a910cc..0d6349607 100644 --- a/templates/repo/modelarts/inferencejob/new.tmpl +++ b/templates/repo/modelarts/inferencejob/new.tmpl @@ -401,7 +401,15 @@ msg = JSON.stringify(msg) $('#store_run_para').val(msg) } + function get_name(){ + let name1=$("#engine_name .text").text() + let name2=$("#flaver_name .text").text() + $("input#ai_engine_name").val(name1) + $("input#ai_flaver_name").val(name2) + + } $('.ui.create_train_job.green.button').click(function(e) { send_run_para() + get_name() }) \ No newline at end of file