* support to save blocks layout in dashboard.

This commit is contained in:
sunhao
2023-08-24 14:15:43 +08:00
parent 5a12c96b8e
commit dae535f643
4 changed files with 74 additions and 1 deletions
+2 -1
View File
@@ -35,7 +35,8 @@ dashboard
(
set::blocks(array_values($blocks)),
set::blockMenu(array('items' => $blockMenuItems)),
set::onClickMenu(jsRaw('handleClickBlockMenu'))
set::onClickMenu(jsRaw('handleClickBlockMenu')),
set::onLayoutChange(jsRaw('handleLayoutChange'))
);
render();