Browse Source

列过滤器between

jqh 4 years ago
parent
commit
d530081fc9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Grid/Column/Filter/Between.php

+ 1 - 1
src/Grid/Column/Filter/Between.php

@@ -113,7 +113,7 @@ class Between extends Filter
             return;
         }
 
-        $this->withQuery($model, 'whereBetween', array_values($value));
+        $this->withQuery($model, 'whereBetween', [array_values($value)]);
     }
 
     protected function addScript()