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 => {