From a2340737fe7af766ec3362f48f1ca6762597c234 Mon Sep 17 00:00:00 2001 From: liapples Date: Thu, 30 Sep 2021 18:14:54 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=A7=E7=BB=AD=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Admin/Extensions/Form/Radio2.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Admin/Extensions/Form/Radio2.php b/app/Admin/Extensions/Form/Radio2.php index 4efe88f..972211c 100644 --- a/app/Admin/Extensions/Form/Radio2.php +++ b/app/Admin/Extensions/Form/Radio2.php @@ -116,7 +116,8 @@ class Radio2 extends Radio var cascade_groups = {$cascadeGroups}, event = '{$this->cascadeEvent}'; \$this.on(event, function (e) { - {$this->getFormFrontValue()} + //{$this->getFormFrontValue()} + var checked = $(e.target).parent().parent().find(':checked').val(); cascade_groups.forEach(function (event) { var group = $(e.target).closest('.form-group.form-field').next('div.cascade-group.'+event.class);