Update add.html

This commit is contained in:
hzgjq
2020-03-02 20:56:32 +08:00
committed by GitHub
parent 7dcb696492
commit 4b39a94d88

View File

@@ -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()