* zin: use thinkSwot of thinkresult widget.

This commit is contained in:
wangzemei
2024-05-30 15:44:16 +08:00
parent 06726cba60
commit cce2dcd185
+3 -1
View File
@@ -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('模型区域');
}