mirror of https://gitee.com/karson/fastadmin.git
update extend/fast/Form.php.
修改Form生成表单日期时间选择器参数错误, 修改后,生成后的表单,日期选择,可以使用默认 Signed-off-by: Lucy <info@huasituo.com>pull/483/head
parent
9bdf43e808
commit
acaa619062
|
|
@ -579,7 +579,7 @@ EOD;
|
|||
{
|
||||
$defaults = [
|
||||
'data-date-format' => "YYYY-MM-DD HH:mm:ss",
|
||||
'data-use-current' => "true",
|
||||
'data-date-use-current' => "true",
|
||||
];
|
||||
$value = is_numeric($value) ? date("Y-m-d H:i:s", $value) : $value;
|
||||
$options = array_merge($defaults, $options);
|
||||
|
|
|
|||
Loading…
Reference in New Issue