Browse Source

1.1.1版本

xaboy 7 years ago
parent
commit
ba17c13b07
2 changed files with 2 additions and 1 deletions
  1. 1 0
      README.md
  2. 1 1
      src/components/TimePicker.php

+ 1 - 0
README.md

@@ -68,6 +68,7 @@ echo $html;
 ```
 ```
 
 
 ## 组件
 ## 组件
+`namespace \FormBuilder\Form`
 
 
 * **Form::cascader** 三级联动,value为array类型
 * **Form::cascader** 三级联动,value为array类型
 * **Form::city** 省市二级联动,value为array类型
 * **Form::city** 省市二级联动,value为array类型

+ 1 - 1
src/components/TimePicker.php

@@ -90,7 +90,7 @@ class TimePicker extends FormComponentDriver
     {
     {
         $value = $this->value;
         $value = $this->value;
         if (is_array($value) && count(array_filter($value)) == 0)
         if (is_array($value) && count(array_filter($value)) == 0)
-            $value = ['0:0:0', '0:0:0'];
+            $value = ['', ''];
         return [
         return [
             'type' => $this->name,
             'type' => $this->name,
             'field' => $this->field,
             'field' => $this->field,