Skip to content

Commit

Permalink
fix: 修复Ai菜单不能正确关闭的问题
Browse files Browse the repository at this point in the history
- 通过调用 setIsAiPanelOpen(false) 来确保 AI 面板在菜单关闭时被隐藏
  • Loading branch information
neooier committed Jan 20, 2025
1 parent 9063bc0 commit 19484a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ export default function App() {
onClick={() => {
setIsMenuOpen(false);
setIsStartFilePanelOpen(false);
setIsAiPanelOpen(false);
}}
onContextMenu={(e) => e.preventDefault()}
>
Expand Down

0 comments on commit 19484a1

Please sign in to comment.