* [bug#63850,done,3h,0h] Adjust ajax get workflowGroups to autoload.

This commit is contained in:
wangyuting
2025-07-15 09:31:58 +08:00
parent c3da74ef14
commit e9fc769f83
5 changed files with 13 additions and 21 deletions
-2
View File
@@ -529,8 +529,6 @@ 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;