From cce2dcd185b3cf4b8029d0d46a80b8311d69a6a8 Mon Sep 17 00:00:00 2001 From: wangzemei Date: Thu, 30 May 2024 15:44:16 +0800 Subject: [PATCH] * zin: use thinkSwot of thinkresult widget. --- lib/zin/wg/thinkresult/v1.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/zin/wg/thinkresult/v1.php b/lib/zin/wg/thinkresult/v1.php index a70a71abaf..bd6a5b3ef0 100644 --- a/lib/zin/wg/thinkresult/v1.php +++ b/lib/zin/wg/thinkresult/v1.php @@ -13,7 +13,9 @@ class thinkResult extends wg protected function buildModel(): wg|node { - // TODO + list($wizard, $mode, $blocks) = $this->prop(array('wizard', 'mode', 'blocks')); + + if($wizard->model == 'swot') return thinkSwot(set::wizard($wizard), set::mode($mode), set::blocks($blocks)); return div('模型区域'); }