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