* [task#136604 doing 0.1h 6h] modify the judgment logic of .

This commit is contained in:
wangzemei
2025-01-17 15:41:51 +08:00
committed by 孙浩
parent 28513e6916
commit f0ad56e650
+1 -5
View File
@@ -172,11 +172,7 @@ class thinkStepMenu extends wg
$hiddenModelType = in_array($wizard->model, $config->thinkwizard->hiddenMenuModel);
$previewCanActions = !$hiddenModelType || ($hiddenModelType && $item->type == 'transition');
$from = '';
if($hiddenModelType)
{
$from = strtolower($wizard->type);
if($wizard->model == 'appeals') $from = 'appeals';
}
if($hiddenModelType) $from = strtolower($wizard->type);
if(!empty($item->children))
{