From 75da63ed2feed63a7c04247288fe5be72546a10f Mon Sep 17 00:00:00 2001 From: liumengyi Date: Wed, 15 Nov 2023 09:11:54 +0800 Subject: [PATCH] * Remove `,` at the end of row in the lastest children in popovers widget. --- lib/zin/wg/popovers/v1.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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)) ); } }