改进Validate类的field属性设置

This commit is contained in:
thinkphp
2016-12-02 19:12:49 +08:00
parent 4a80099a51
commit 2061588c49

View File

@@ -115,7 +115,7 @@ class Validate
{
$this->rule = array_merge($this->rule, $rules);
$this->message = array_merge($this->message, $message);
$this->field = $field;
$this->field = array_merge($this->field, $field);
}
/**