jqh hace 5 años
padre
commit
38ac363d37
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Grid/BatchAction.php

+ 1 - 1
src/Grid/BatchAction.php

@@ -22,7 +22,7 @@ function (data, target, action) {
     
     if (key.length === 0) {
         Dcat.warning('{$warning}');
-        return ;
+        return false;
     }
     
     // 设置主键为复选框选中的行ID数组