core/Form.php
public function clearAllErrors()
    {
        $fields = $this->getFields();
        foreach ($fields as $name => $field) {
            if (!empty($field->error)) {
                $field->error = null;
            }
        }
    }
public function clearAllErrors()
    {
        $fields = $this->getFields();
        foreach ($fields as $name => $field) {
            if (!empty($field->error)) {
                $field->error = null;
            }
        }
    }
清除所有错误