Skip to content

Commit ed3b081

Browse files
committed
🚸 优化加载帮助的弹窗提示
1 parent aada760 commit ed3b081

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

app/src/pages/_app_menu.tsx

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,19 @@ export default function AppMenu({ className = "", open = false }: { className?:
477477
<Col
478478
icon={<BadgeInfo />}
479479
onClick={() => {
480-
HelpService.loadHelp();
480+
Dialog.show({
481+
title: "是否加载帮助?",
482+
content: "加载帮助内容会在您的当前舞台上贴入很多内容,建议清空舞台或新建草稿后再加载帮助。",
483+
buttons: [
484+
{
485+
text: "加载",
486+
onClick: () => {
487+
HelpService.loadHelp();
488+
},
489+
},
490+
{ text: "取消" },
491+
],
492+
});
481493
}}
482494
>
483495
help

0 commit comments

Comments
 (0)