* Remove , at the end of row in the lastest children in popovers widget.

This commit is contained in:
liumengyi
2023-11-15 09:11:54 +08:00
parent 1d25252510
commit 75da63ed2f
+4 -4
View File
@@ -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))
);
}
}