mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
改进field方法
This commit is contained in:
@@ -793,7 +793,7 @@ class Query
|
||||
}
|
||||
|
||||
if (isset($this->options['field'])) {
|
||||
$field = array_merge($this->options['field'], $field);
|
||||
$field = array_merge((array) $this->options['field'], $field);
|
||||
}
|
||||
$this->options['field'] = array_unique($field);
|
||||
return $this;
|
||||
|
||||
Reference in New Issue
Block a user