mirror of
https://github.com/ehang-io/nps.git
synced 2025-09-02 11:56:53 +00:00
Update add.html
This commit is contained in:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user