* [refac] refactor featurebar widget.

This commit is contained in:
sunhao
2025-12-17 14:42:43 +08:00
parent e82d5530ca
commit 31784fa5fc
+3 -2
View File
@@ -59,8 +59,9 @@ class featureBar extends wg
data('activeFeature', $current);
if(empty($commonLink)) $commonLink = createLink($app->rawModule, $app->rawMethod, $this->prop('linkParams'));
if(empty($searchModule)) $searchModule = data("config.{$currentModule}.search.module") ? data("config.{$currentModule}.search.module") : $currentModule;
if(empty($commonLink)) $commonLink = createLink($app->rawModule, $app->rawMethod, $this->prop('linkParams'));
if(empty($searchModule)) $searchModule = data("config.{$currentModule}.search.module");
if(empty($searchModule)) $searchModule = $currentModule;
foreach($rawItems as $rawItem)
{