* zin: fix tabs defineProps.

This commit is contained in:
dingyongliang
2023-05-12 09:59:05 +08:00
parent b747a92cf0
commit f724cccff3
+1 -2
View File
@@ -8,7 +8,7 @@ class tabs extends wg
/* Tabs direction: h - horizontal, v - vertical */
'direction?:string="h"',
'items:array',
'activeID?string'
'activeID?:string'
);
public static function getPageCSS(): string|false
@@ -79,7 +79,6 @@ class tabs extends wg
protected function build(): wg
{
$items = $this->prop('items');
// $activeID = $this->prop('activeID');
$isVertical = $this->prop('direction') === 'v';
if(empty($items))