From 3250283ef94973cb555e78ff11ee4f571b4094e5 Mon Sep 17 00:00:00 2001 From: lyj <2457395722@qq.com> Date: Fri, 4 Oct 2024 23:33:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=85=81=E8=AE=B8=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=88=86=E7=BB=84=20(#426)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: 允许更新默认分组 * improve: check null --------- Co-authored-by: naiba --- resource/template/dashboard-default/server.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resource/template/dashboard-default/server.html b/resource/template/dashboard-default/server.html index 2cea237..68c3827 100644 --- a/resource/template/dashboard-default/server.html +++ b/resource/template/dashboard-default/server.html @@ -159,8 +159,8 @@ } function batchEditServerGroup() { let groupName = prompt('{{tr "InputServerGroupName"}}') - if (!groupName) { - return; + if (groupName === null) { + return } const servers = [] checkBoxList.forEach(cb => {