* [task#136604 doing 0.1h 6h] modify the judgment logic of .
This commit is contained in:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user