+ [task#132561 doing 0.1h 7h] add defineProps for the thinkmodel widget.

This commit is contained in:
wangzemei
2024-11-22 13:52:29 +08:00
committed by 孙浩
parent da5c88cd6a
commit eb699e369e
+3 -2
View File
@@ -5,8 +5,9 @@ namespace zin;
class thinkModel extends wg
{
protected static array $defineProps = array(
'mode?: string', // 模型展示模式。 preview 后台设计预览 | view 前台结果展示
'blocks: array' // 模型节点
'mode?: string', // 模型展示模式。 preview 后台设计预览 | view 前台结果展示
'blocks: array', // 模型节点
'wizard?: object' // 模型数据
);
protected function buildQuestionItem(object $step): wg|array