From 5f9213718b15d06fc4ba8a5631082188ef45d2c3 Mon Sep 17 00:00:00 2001 From: Anyon Date: Thu, 22 Oct 2020 14:46:50 +0800 Subject: [PATCH] Update Plugs.php --- app/admin/controller/api/Plugs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/admin/controller/api/Plugs.php b/app/admin/controller/api/Plugs.php index 0006c0f5a..261f91c07 100644 --- a/app/admin/controller/api/Plugs.php +++ b/app/admin/controller/api/Plugs.php @@ -34,7 +34,7 @@ class Plugs extends Controller public function icon() { $this->title = '图标选择器'; - $this->field = input('field', 'icon'); + $this->field = $this->app->request->get('field', 'icon'); $this->fetch(realpath(__DIR__ . '/../../view/api/icon.html')); }