From 3772f404865810a778a334aeed7fc55af9bde684 Mon Sep 17 00:00:00 2001 From: wwsun Date: Mon, 5 Aug 2024 11:11:09 +0800 Subject: [PATCH] fix: update error overlay display to use designer.activeView instead of mode --- packages/designer/src/workspace-view.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/designer/src/workspace-view.tsx b/packages/designer/src/workspace-view.tsx index 7e206c3..8ee0276 100644 --- a/packages/designer/src/workspace-view.tsx +++ b/packages/designer/src/workspace-view.tsx @@ -31,7 +31,7 @@ export const WorkspaceView = observer((props: WorkspaceViewProps) => { {children} {/* 添加组件弹层 */} {display === 'block' && } - {mode === 'design' && } + {designer.activeView === 'design' && } ); });