mirror of https://github.com/ehang-io/nps
Update add.html
parent
7dcb696492
commit
4b39a94d88
|
@ -134,7 +134,7 @@
|
|||
}
|
||||
|
||||
$(function () {
|
||||
$("#type").val('{{.type}}');
|
||||
$("#type").val(('{{.type}}' == '') ? 'tcp' : '{{.type}}');
|
||||
resetForm()
|
||||
$("#type").on("change", function () {
|
||||
resetForm()
|
||||
|
|
Loading…
Reference in New Issue