* Remove buildActionList function.

This commit is contained in:
wangyuting
2024-04-17 11:01:46 +08:00
parent 4e02a59a69
commit f430986ecd
3 changed files with 7 additions and 2 deletions
+5 -1
View File
@@ -703,7 +703,11 @@ function initItemActions(object &$item, string $actionMenu, array $actionList, o
if(!empty($actionConfig['url']['module']) && $module != $actionConfig['url']['module'])
{
$module = $actionConfig['url']['module'];
if(!$notLoadModel) $model = $app->control->loadModel($module);
if(!$notLoadModel)
{
$rowModule = $module == 'projectbuild' ? 'build' : $module;
$model = $app->control->loadModel($rowModule);
}
}
$method = $action;