* [task#135037 doing 0.2h 3h] modify menu tree subtitle of thinkstepmenu.

This commit is contained in:
zhangyu
2024-12-24 11:11:56 +08:00
committed by 孙浩
parent 9c2b18c76f
commit 8d061d203b
+1 -1
View File
@@ -95,7 +95,7 @@ class thinkStepMenu extends wg
$item = array(
'key' => $setting->id,
'text' => (isset($setting->index) ? ($setting->index . '. ') : '') . $setting->title,
'subtitle' => !empty($quotedText) ? array('html' => "<span class='label size-sm rounded-full warning-pale'>$quotedText</span>") : null,
'subtitle' => (!empty($quotedText) && !in_array($wizard->model, $config->thinkwizard->hiddenMenuModel)) ? array('html' => "<span class='label size-sm rounded-full warning-pale'>$quotedText</span>") : null,
'hint' => $unClickable ? $this->lang->thinkrun->error->unanswered :$setting->title,
'url' => $unClickable || !$canView ? '' : $setting->url,
'data-id' => $setting->id,