* zin: refactor treeEditor.

This commit is contained in:
sunhao
2023-09-26 15:19:09 +08:00
parent d25b5d97f0
commit 77c6c8fdb2
5 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1140,7 +1140,7 @@ function tree(): Tree
*
* ?array items
*/
function treeEditor(): Tree
function treeEditor(): TreeEditor
{
return createWg('treeEditor', func_get_args());
}
+1 -1
View File
@@ -176,7 +176,7 @@ div
$lang->history
),
) : null,
tree
treeEditor
(
set('type', $viewType),
set('items', $tree),
+1 -1
View File
@@ -172,7 +172,7 @@ div
panel
(
set::title($title),
tree
treeEditor
(
set('type', 'task'),
set('items', $tree),