From 50390f1088d99e142c2f7dcb1548c5a1b047a702 Mon Sep 17 00:00:00 2001 From: vine_liutk <961510893@qq.com> Date: Mon, 25 Sep 2023 20:06:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E5=88=B7=E6=96=B0=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Admin/Controllers/CustomRegionController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Admin/Controllers/CustomRegionController.php b/app/Admin/Controllers/CustomRegionController.php index 7aa306b..7429896 100644 --- a/app/Admin/Controllers/CustomRegionController.php +++ b/app/Admin/Controllers/CustomRegionController.php @@ -95,8 +95,8 @@ class CustomRegionController extends AdminController ->body([ DialogAction::make()->className('absolute top-1 right-4')->label(__('admin.create'))->dialog( Dialog::make()->title('新增种植记录')->body($this->plantCreateForm($region)) - ), - \amisMake()->CRUDTable()->affixHeader(false) + )->reload('plant_list'), + \amisMake()->CRUDTable()->affixHeader(false)->name('plant_list') ->title('') ->api(admin_url('crop-plants').'?_action=getData®ion_id='.$region->id) ->columns([