fix(desktop): 补齐顶部段落菜单与浮动按钮布局

This commit is contained in:
2026-09-07 19:25:06 +08:00
parent a64c2cd057
commit a189b89942
8 changed files with 118 additions and 7 deletions
@@ -6,6 +6,7 @@ import { useEditorStore } from '@/stores/editor'
import { useThemeStore } from '@/stores/theme'
import { Moon, Sunny } from '@element-plus/icons-vue'
import AppIcon from './AppIcon.vue'
import TitleBarMenu from './TitleBarMenu.vue'
import { t } from '@/i18n'
import { isDesktop } from '@/services/platform/desktop'
import { minimizeWindow, requestWindowClose, toggleMaximizeWindow } from '@/services/platform/windowControls'
@@ -61,6 +62,7 @@ function toggleFromTitlebar(event: MouseEvent) {
{{ currentFileName }}
<span v-if="isDirty" class="dirty-dot" />
</span>
<TitleBarMenu />
</div>
<div class="titlebar-center" data-tauri-drag-region>
<span class="app-name" data-tauri-drag-region>NotesAgent</span>