From e75af49addf4437d6d8f5548c9e193071ac42812 Mon Sep 17 00:00:00 2001 From: JaguarJack Date: Wed, 28 Apr 2021 08:34:30 +0800 Subject: [PATCH] =?UTF-8?q?add=20bind=20=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- catch/permissions/tables/Role.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/catch/permissions/tables/Role.php b/catch/permissions/tables/Role.php index a2ef123..aa4cd54 100644 --- a/catch/permissions/tables/Role.php +++ b/catch/permissions/tables/Role.php @@ -29,7 +29,9 @@ class Role extends CatchTable ->withApiRoute('roles') ->withActions([ Actions::create() - ])->withDialogWidth('40%') + ]) + ->withBind() + ->withDialogWidth('40%') ->toTreeTable() ->forceUpdate() ->render();