* [task#143862,done,0.2h] fix bug.

This commit is contained in:
sunguangming
2025-05-20 13:30:39 +08:00
committed by 刘刚
parent 11c25bd309
commit 0f63133145
+2
View File
@@ -527,6 +527,8 @@ class control extends baseControl
$flow = $this->loadModel('workflow')->getByModule($moduleName, false, $groupID);
if(!$flow) return $fields;
if($groupID && $moduleName == 'project' && $methodName == 'create') $groupID = 0; // 项目创建页面用通用的工作流配置
$action = $this->loadModel('workflowaction')->getByModuleAndAction($flow->module, $methodName, $groupID);
if(!$action || $action->extensionType != 'extend') return $fields;