* zin: fix the inheritance issues of thinkstep wg.

This commit is contained in:
wangzemei
2024-04-16 18:16:34 +08:00
parent 29cbb21a2f
commit b1bb7f7b58
+12 -5
View File
@@ -80,15 +80,22 @@ class thinkStep extends wg
);
}
protected function build(): wg
protected function buildBody(): array
{
return formPanel
(
set::grid(false),
set::actions(array()),
return array(
$this->buildNamePanel(),
$this->buildDescControl(),
$this->block('fields')
);
}
protected function build(): wg|array
{
return formPanel
(
set::grid(false),
set::actions(array()),
$this->buildBody()
);
}
}