This commit is contained in:
tianshujie
2024-05-28 13:23:53 +08:00
parent 7190f6f47e
commit 6fdec8e428
+1 -1
View File
@@ -68,7 +68,7 @@ window.addItem = function(obj)
*/
window.deleteItem = function(obj)
{
if($('#teamForm .table tbody').children().length < 2) return false;
if($('#teamForm .table tbody tr').length < 2) return false;
$(obj).closest('tr').remove();
}