From 764cf0e7e3d660ddc6b064b9778681abaa14aee6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=81=93=E5=A3=AB?= Date: Thu, 17 Jun 2021 15:59:56 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20=E4=BF=AE=E5=A4=8D=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E9=AA=8C=E8=AF=81=E5=AD=97=E6=AE=B5=E6=97=B6=E7=9A=84=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Support/RuleManagerScene.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Support/RuleManagerScene.php b/src/Support/RuleManagerScene.php index f680450..fb05760 100644 --- a/src/Support/RuleManagerScene.php +++ b/src/Support/RuleManagerScene.php @@ -103,7 +103,7 @@ class RuleManagerScene implements SceneInterface /** @inheritDoc */ public function appendCheckField(string $field): SceneInterface { - $rule = $this->rule[$field] ?? ''; + $rule = $this->checkRules[$field] ?? ''; $this->checkRules = array_merge($this->checkRules, [$field => $rule]); return $this; } -- Gitee