Browse Source

服务包列表点击显示报错(陈武杰)

ChenWuJie 4 years ago
parent
commit
41f2472acc

+ 3 - 0
app/Admin/Controllers/ServicePacksManagment/ServicePacksController.php

xqd
@@ -26,6 +26,9 @@ class ServicePacksController extends AdminController
         protected function grid()
     {
         $grid = new Grid(new ServicePack());
+        $grid->actions(function ($actions){
+           $actions->disableView();
+        });
         $grid->model()->orderBy('id','desc');
         $grid->column('id', __('Id'));
         $grid->column('name', __('服务包名称'));