Browse Source

Update Plugs.php

Anyon 4 years ago
parent
commit
5f9213718b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/admin/controller/api/Plugs.php

+ 1 - 1
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'));
     }