zxhxx 3 年之前
父节点
当前提交
3f6f892144
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      application/admin/controller/Lave.php

+ 1 - 2
application/admin/controller/Lave.php

@@ -40,8 +40,7 @@ class Lave extends Backend
         if ($this->request->isAjax()) {
             //如果发送的来源是Selectpage,则转发到Selectpage
             if ($this->request->request('keyField')) {
-                $data = $this->selectpage()->getData();
-                return $data;
+                return  $this->selectpage();
             }
             list($where, $sort, $order, $offset, $limit) = $this->buildparams();
             /**