* [refac bug #57454] Adjust for lite vision.

This commit is contained in:
wangyidong
2024-11-27 15:17:16 +08:00
committed by 孙广明
parent f7fbb4a615
commit 53a1388c59
+1
View File
@@ -148,6 +148,7 @@ $batchFormOptions['fixedActions'] = true; // 滚动时固定操作列。
$batchFormOptions['actions'] = array(array('type' => 'addSibling', 'icon' => 'icon-plus', 'text' => $lang->task->addSibling), array('type' => 'addSub', 'icon' => 'icon-split', 'text' => $lang->task->addSub), 'delete');
$batchFormOptions['onClickAction'] = jsRaw('window.handleClickBatchFormAction'); // 定义操作列按钮点击事件处理函数。
$batchFormOptions['onRenderRow'] = jsRaw('window.handleRenderRow'); // 定义行渲染事件处理函数。
if($config->vision == 'lite') unset($batchFormOptions['fixedActions'], $batchFormOptions['actions'], $batchFormOptions['onClickAction']);
/* ====== Define the page structure with zin widgets ====== */