feat(more-actions): hidde undefined function

This commit is contained in:
zhangchi
2022-07-26 14:30:34 +08:00
parent acd6b0434e
commit 3ec95e4377

View File

@@ -176,24 +176,24 @@ function DndTreeItemMoreActions(props: ActionsProps) {
title: '', title: '',
isDivide: true, isDivide: true,
}, },
{ // {
title: 'New Child Page', // title: 'New Child Page',
callback: () => { // callback: () => {
handle_new_child_page(); // handle_new_child_page();
}, // },
}, // },
{ // {
title: 'New Prev Page', // title: 'New Prev Page',
callback: () => { // callback: () => {
handle_new_prev_page(); // handle_new_prev_page();
}, // },
}, // },
{ // {
title: 'New Next Page', // title: 'New Next Page',
callback: () => { // callback: () => {
handle_new_next_page(); // handle_new_next_page();
}, // },
}, // },
{ {
title: 'New From Template', title: 'New From Template',
subItems: templateMenuList, subItems: templateMenuList,