Merge branch feature/workflowgroup of zentao/zentaopms (#12516)

This commit is contained in:
刘刚
2025-11-25 09:22:25 +08:00
committed by Gitfox
+5 -2
View File
@@ -88,6 +88,11 @@ class helper extends baseHelper
{
global $config;
if(in_array($feature, array('waterfall', 'waterfallplus')))
{
return !str_contains(",$config->disabledFeatures,", ",{$feature},"); // 轻量级模式排除瀑布、融合瀑布模型
}
if(str_contains($feature, '_'))
{
$code = explode('_', $feature);
@@ -108,8 +113,6 @@ class helper extends baseHelper
}
}
if(in_array($feature, array('waterfall', 'waterfallplus'))) $canConfigFeature = true; // 轻量级模式关闭瀑布、融合瀑布
return !$canConfigFeature || ($hasFeature && !str_contains(",$config->disabledFeatures,", ",{$feature},"));
}