From 3c0653ca76cd88ee1e580f73c05e2bad47dc78c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Mon, 5 Sep 2022 15:28:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GiiController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GiiController.php b/GiiController.php index 1a7eaf2..da6743f 100644 --- a/GiiController.php +++ b/GiiController.php @@ -391,10 +391,10 @@ use {$model_namespace}\\{$managerName}; } else { $order = \'id desc\'; } - $getWhere = []; + $pWhere = []; '.$this->getWhere($fields).' //列表输出 - $model = ' . $managerName . '::query()->orderBy($order); + $model = ' . $managerName . '::query()->where($pWhere)->orderBy($order); $keyword = $this->request->query(\'keyword\', null); if (!empty($keyword)) {