| xqd
@@ -59,9 +59,9 @@ class UserController extends AdminController
|
|
|
//操作管理
|
|
|
$grid->actions(function (Grid\Displayers\Actions $actions) {
|
|
|
$actions->disableView();
|
|
|
-// $actions->disableEdit();
|
|
|
-// $actions->append(new UserAction(User::class));
|
|
|
-// $actions->append(new UserChange(User::class));
|
|
|
+ $actions->disableEdit();
|
|
|
+ $actions->append(new UserAction(User::class));
|
|
|
+ $actions->append(new UserChange(User::class));
|
|
|
if ($actions->row->is_auth == 0) {
|
|
|
$actions->append(new UserAuth(User::class));
|
|
|
}
|