diff --git a/.env.development b/.env.development index 150c4e3..db19c58 100644 --- a/.env.development +++ b/.env.development @@ -7,4 +7,4 @@ VITE_REGISTER_API_URL=http://192.168.2.22:48080 # pk api地址 VITE_PK_MINI_API_URL=http://192.168.2.22:8086 # 商店地址 -VITE_SHOP_URL=https://ck.ninisc.cn/ +VITE_SHOP_URL=https://www.tkzyw.com diff --git a/src/App.vue b/src/App.vue index 42664eb..12491b4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -230,19 +230,19 @@ const handleGoToConfig = async () => { } const handleLogout = async () => { - if (isElectron()) { - await window.electronAPI.logout() - } - - try { - await window.electronAPI.hideViews() - await handleStopAll() - } catch (e) { - console.warn('[App] 清理视图失败:', e) - } + stopHealthCheck() currentPage.value = 'login' localStorage.removeItem(USER_KEY) - // currentPage.value = 'login' + + if (isElectron()) { + try { await window.electronAPI.logout() } catch (e) { console.warn('[App] logout失败:', e) } + try { + await window.electronAPI.hideViews() + await handleStopAll() + } catch (e) { + console.warn('[App] 清理视图失败:', e) + } + } } const handleStopAll = async () => { diff --git a/src/assets/illustration.webp b/src/assets/illustration.webp new file mode 100644 index 0000000..d7ea590 Binary files /dev/null and b/src/assets/illustration.webp differ diff --git a/src/assets/nav/card.png b/src/assets/nav/card.png new file mode 100644 index 0000000..8e214ff Binary files /dev/null and b/src/assets/nav/card.png differ diff --git a/src/assets/nav/exchange.png b/src/assets/nav/exchange.png new file mode 100644 index 0000000..887eaf2 Binary files /dev/null and b/src/assets/nav/exchange.png differ diff --git a/src/assets/nav/phone.png b/src/assets/nav/phone.png new file mode 100644 index 0000000..4543fab Binary files /dev/null and b/src/assets/nav/phone.png differ diff --git a/src/components/HostListDialog.vue b/src/components/HostListDialog.vue index 12245c4..6b16189 100644 --- a/src/components/HostListDialog.vue +++ b/src/components/HostListDialog.vue @@ -36,7 +36,7 @@
{{ description }}