Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/2274/head
zouap 3 years ago
parent
commit
ded533bd0f
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      templates/repo/modelmanage/index.tmpl

+ 10
- 0
templates/repo/modelmanage/index.tmpl View File

@@ -330,5 +330,15 @@
$("#choice_Engine").removeClass('disabled');
}
}
let isChange = false;
const inputEl = document.getElementById("JobId");
inputEl.addEventListener("change", function(ev) {
console.log(ev.target.value);
isChange = true;
});
window.onbeforeunload = function(e) {
return !isChange && null;
};

</script>


Loading…
Cancel
Save