From c4a80b1c186603b3c452377245ab632f4768db58 Mon Sep 17 00:00:00 2001 From: lanzu_qsy <334039090@qq.com> Date: Fri, 4 Sep 2020 18:03:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D:=20=E5=AE=A1=E6=A0=B8?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E5=95=86=E3=80=81=E5=B8=82=E5=9C=BA=E7=BB=8F?= =?UTF-8?q?=E7=90=86=E7=9A=84=E6=8F=90=E7=8E=B0=E5=AE=A1=E6=A0=B8=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E6=9C=AA=E9=80=89=E6=8B=A9=E6=8F=90=E7=8E=B0=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E4=B9=9F=E5=8F=AF=E4=BB=A5=E4=BF=9D=E5=AD=98=E6=88=90?= =?UTF-8?q?=E5=8A=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Admin/Controllers/LanzuMmWithdrawController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Admin/Controllers/LanzuMmWithdrawController.php b/app/Admin/Controllers/LanzuMmWithdrawController.php index dbd9f20..6c0caac 100644 --- a/app/Admin/Controllers/LanzuMmWithdrawController.php +++ b/app/Admin/Controllers/LanzuMmWithdrawController.php @@ -159,8 +159,9 @@ class LanzuMmWithdrawController extends AdminController ->options([1 => '已同意', -1 => '已拒绝']) ->default(0)->disable(); } else { + $form->model()->status = 1; $form->radio('status', '状态') - ->options([1 => '同意', -1 => '拒绝'])->default(1,true); + ->options([1 => '同意', -1 => '拒绝']); } $form->saved(function (Form $form) use ($mmId) {