Skip to content

Commit 880f327

Browse files
author
阿岳
committed
fix: 修复框嵌套布局点击后无效的问题
1 parent 9593a3b commit 880f327

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/sub/RecentFilesWindow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ export default function RecentFilesWindow({ winId = "" }: { winId?: string }) {
315315
// 在嵌套视图中,我们不需要跟踪当前选中的索引
316316
SoundService.play.mouseEnterButton();
317317
}}
318-
onClick={() => {
318+
onMouseDown={() => {
319319
if (isShowDeleteEveryItem) {
320320
toast.warning("当前正在删除阶段,请退出删除阶段才能打开文件,或点击删除按钮删除该文件");
321321
return;

0 commit comments

Comments
 (0)