diff --git a/lib/zin/wg/popovers/v1.php b/lib/zin/wg/popovers/v1.php index 56b50af1f2..56ed1f42ff 100644 --- a/lib/zin/wg/popovers/v1.php +++ b/lib/zin/wg/popovers/v1.php @@ -11,16 +11,16 @@ class popovers extends wg 'flip?: bool=true', // 是否启用 flip 'shift?: array|bool', // 是否启用 shift 'arrow?: bool=false', // 是否启用箭头 - 'offset?: int=1', // 偏移量 + 'offset?: int=1' // 偏移量 ); protected static array $defaultProps = array( - 'shift' => array('padding' => 5), + 'shift' => array('padding' => 5) ); protected static array $defineBlocks = array( 'trigger' => array(), - 'target' => array(), + 'target' => array() ); protected function build(): array @@ -38,7 +38,7 @@ class popovers extends wg return array( $trigger, $target, - zui::popovers(set($props)), + zui::popovers(set($props)) ); } }