From ceb177114d4087de0f471b3923cd5c152bc87d3f Mon Sep 17 00:00:00 2001 From: landaiqing Date: Mon, 9 Jun 2025 14:18:25 +0800 Subject: [PATCH] :bug: Fixed the bug of obtaining the operating system --- frontend/src/App.vue | 37 ++----- .../src/components/titlebar/LinuxTitleBar.vue | 10 +- .../src/components/titlebar/MacOSTitleBar.vue | 10 +- .../components/titlebar/WindowTitleBar.vue | 21 +--- .../components/titlebar/WindowsTitleBar.vue | 78 +++++++------- frontend/src/i18n/index.ts | 3 +- frontend/src/stores/systemStore.ts | 101 ++++++++++++++++++ go.mod | 1 + go.sum | 3 +- 9 files changed, 171 insertions(+), 93 deletions(-) create mode 100644 frontend/src/stores/systemStore.ts diff --git a/frontend/src/App.vue b/frontend/src/App.vue index bab6014..b332d48 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,46 +1,31 @@