diff --git a/library/think/Validate.php b/library/think/Validate.php index 203eb944..1c43f80c 100644 --- a/library/think/Validate.php +++ b/library/think/Validate.php @@ -654,9 +654,6 @@ class Validate if (!($file instanceof \think\File)) { return false; } - if (is_string($rule)) { - $rule = explode(',', $rule); - } if (is_array($file)) { foreach ($file as $item) { if (!$item->checkSize($rule)) {