mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 07:12:47 +08:00
修正
This commit is contained in:
@@ -208,7 +208,7 @@ class Validate
|
|||||||
*/
|
*/
|
||||||
public function scene($name, $fields = null)
|
public function scene($name, $fields = null)
|
||||||
{
|
{
|
||||||
if(is_array($name){
|
if (is_array($name)) {
|
||||||
$this->scene = array_merge($this->scene, $name);
|
$this->scene = array_merge($this->scene, $name);
|
||||||
}if (is_null($fields)) {
|
}if (is_null($fields)) {
|
||||||
// 设置当前场景
|
// 设置当前场景
|
||||||
|
|||||||
Reference in New Issue
Block a user