xaboy 6 年之前
父节点
当前提交
320a9841e6

+ 1 - 3
src/UI/Elm/Components/Popover.php

@@ -27,9 +27,7 @@ use FormBuilder\Rule\CallPropsRule;
  * @method $this offset(number $offset) 出现位置的偏移量
  * @method $this transition(string $transition) 定义渐变动画, 默认值: fade-in-linear
  * @method $this visibleArrow(boolean $visibleArrow) 是否显示 Tooltip 箭头,更多参数可见Vue-popper, 默认值: true
- * @method $this popperOptions(object $popperOptions) popper.js 的参数, 可选值: 参考 popper.js 文档, 默认值: {
- * boundariesElement: 'body', gpuAcceleration: false
- * }
+ * @method $this popperOptions(object $popperOptions) popper.js 的参数, 可选值: 参考 popper.js 文档, 默认值: {boundariesElement: 'body', gpuAcceleration: false}
  * @method $this popperClass(string $popperClass) 为 popper 添加类名
  * @method $this openDelay(number $openDelay) 触发方式为 hover 时的显示延迟,单位为毫秒
  * @method $this closeDelay(float $closeDelay) 触发方式为 hover 时的隐藏延迟,单位为毫秒, 默认值: 200

+ 1 - 3
src/UI/Elm/Components/Tooltip.php

@@ -24,9 +24,7 @@ use FormBuilder\Rule\CallPropsRule;
  * @method $this offset(float $offset) 出现位置的偏移量
  * @method $this transition(string $transition) 定义渐变动画, 默认值: el-fade-in-linear
  * @method $this visibleArrow(bool $visibleArrow) 是否显示 Tooltip 箭头,更多参数可见Vue-popper, 默认值: true
- * @method $this popperOptions(array $popperOptions) popper.js 的参数, 可选值: 参考 popper.js 文档, 默认值: {
- * boundariesElement: 'body', gpuAcceleration: false
- * }
+ * @method $this popperOptions(array $popperOptions) popper.js 的参数, 可选值: 参考 popper.js 文档, 默认值: {boundariesElement: 'body', gpuAcceleration: false}
  * @method $this openDelay(float $openDelay) 延迟出现,单位毫秒
  * @method $this manual(bool $manual) 手动控制模式,设置为 true 后,mouseenter 和 mouseleave 事件将不会生效, 默认值: false
  * @method $this popperClass(string $popperClass) 为 Tooltip 的 popper 添加类名

+ 1 - 1
src/UI/Elm/Style/Col.php

@@ -90,7 +90,7 @@ class Col implements ColComponentInterface
     }
 
     /**
-     * 自定义的class名称
+     * 自定义元素标签
      *
      * @param string $tag
      * @return $this

+ 1 - 1
src/UI/Iview/Components/ColorPicker.php

@@ -25,7 +25,7 @@ use FormBuilder\Factory\Iview;
  * @method $this hue(bool $bool) 是否支持色彩选择, 默认为true
  * @method $this recommend(bool $bool) 是否显示推荐的颜色预设, 默认为false
  * @method $this size(string $size) 尺寸,可选值为large、small、default或者不设置
- * @method $this format(string $format) 颜色的格式,可选值为 hsl、hsv、hex、rgb    string    开启 alpha 时为 rgb,其它为 hex
+ * @method $this format(string $format) 颜色的格式,可选值为 hsl、hsv、hex、rgb.开启 alpha 时为 rgb,其它为 hex
  */
 class ColorPicker extends FormComponent
 {

+ 1 - 1
src/UI/Iview/Components/Switches.php

@@ -66,7 +66,7 @@ class Switches extends FormComponent
      */
     public function closeStr($close)
     {
-        $this->props['slot']['open'] = (string)$close;
+        $this->props['slot']['close'] = (string)$close;
         return $this;
     }
 

+ 1 - 1
src/UI/Iview/Style/Row.php

@@ -69,7 +69,7 @@ class Row implements FormComponentInterface
     }
 
     /**
-     * 自定义的class名称
+     * 组件的class
      *
      * @param string $className
      */