From f8d2b25d1e88c92c7647c216785ac6ccca98bf7a Mon Sep 17 00:00:00 2001 From: oopuuu <75833466+oopuuu@users.noreply.github.com> Date: Sat, 22 Mar 2025 10:37:27 +0800 Subject: [PATCH] Update index.html MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复按钮配置,事件下拉框最后多一个空白选项的问题 --- TC1/http_server/web/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TC1/http_server/web/index.html b/TC1/http_server/web/index.html index 0a4af55..6da3d88 100644 --- a/TC1/http_server/web/index.html +++ b/TC1/http_server/web/index.html @@ -960,7 +960,7 @@ .attr('data-val', -1) .text("未设置") ); - for (let i = 0; i <= BTN_OPERATIONS.length; i++) { + for (let i = 0; i < BTN_OPERATIONS.length; i++) { $('#btn_action_selector').append( $('