From 864f1afc95a14b38c8fbf2cb359978b23c46eab0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E4=B8=83=E5=BD=A9=E6=9E=AB=E5=8F=B6?= <424235748@qq.com>
Date: Tue, 18 Jul 2023 03:14:54 +0000
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BC=80=E5=85=B3=E7=BB=84?=
=?UTF-8?q?=E4=BB=B6=E5=A4=B1=E6=95=88=E7=9A=84=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: 七彩枫叶 <424235748@qq.com>
---
extend/system/Form.php | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/extend/system/Form.php b/extend/system/Form.php
index bd131cee..cc2970e2 100644
--- a/extend/system/Form.php
+++ b/extend/system/Form.php
@@ -394,12 +394,11 @@ class FormBuilder
*/
public function switch(array $data = []): string
{
- $value = $this->formtype ? '{$data.' . $data['name'] . '}' : '';
$param = '$data.' . $data['name'];
if ($this->formtype) {
return <<
- checked lay-skin="switch" />
+ checked lay-skin="switch" />
Eof;
}
return <<