diff --git a/src/App.scss b/src/App.scss index 02be79a..2613fa3 100644 --- a/src/App.scss +++ b/src/App.scss @@ -6,6 +6,17 @@ animation: appFadeIn 0.35s ease-out; } +.window-drag-region { + position: fixed; + top: 0; + left: 0; + right: 150px; // 预留系统最小化/最大化/关闭按钮区域 + height: 40px; + -webkit-app-region: drag; + pointer-events: auto; + z-index: 2000; +} + .main-layout { flex: 1; display: flex; diff --git a/src/App.tsx b/src/App.tsx index 2491727..6bbf9dc 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -346,6 +346,7 @@ function App() { // 主窗口 - 完整布局 return (
+