mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
Validate类的confirm验证改为恒等判断
This commit is contained in:
@@ -435,7 +435,7 @@ class Validate
|
||||
$rule = $field . '_confirm';
|
||||
}
|
||||
}
|
||||
return $this->getDataValue($data, $rule) == $value;
|
||||
return $this->getDataValue($data, $rule) === $value;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user