jqh 5 年之前
父节点
当前提交
904b67cfe1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Grid/Model.php

+ 1 - 1
src/Grid/Model.php

@@ -380,7 +380,7 @@ class Model
      *
      * @return Collection|LengthAwarePaginator
      */
-    protected function get()
+    public function get()
     {
         if (
             $this->model instanceof LengthAwarePaginator