mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-23 21:17:30 +00:00
- 修复代理设置导致页面卡死的问题(循环更新) - 修复Gemini账号授权码自动提取功能 - 修复账户名称验证无错误提示的问题 - 修复网站图标只在settings页面显示的问题 - 修复删除账户使用自定义确认弹窗 - 修复账号添加成功提示重复显示的问题 - 修复代理配置字段格式与原版不一致的问题 - 添加.gitignore忽略旧版web/admin和web/apiStats目录 所有问题已按照原版逻辑完整修复,提升了用户体验。
34 lines
727 B
Vue
34 lines
727 B
Vue
<template>
|
||
<div id="app">
|
||
<router-view />
|
||
|
||
<!-- 全局组件 -->
|
||
<ToastNotification ref="toastRef" />
|
||
<ConfirmDialog ref="confirmRef" />
|
||
</div>
|
||
</template>
|
||
|
||
<script setup>
|
||
import { onMounted, ref } from 'vue'
|
||
import { useAuthStore } from '@/stores/auth'
|
||
import ToastNotification from '@/components/common/ToastNotification.vue'
|
||
import ConfirmDialog from '@/components/common/ConfirmDialog.vue'
|
||
|
||
const authStore = useAuthStore()
|
||
const toastRef = ref()
|
||
const confirmRef = ref()
|
||
|
||
onMounted(() => {
|
||
// 检查本地存储的认证状态
|
||
authStore.checkAuth()
|
||
|
||
// 加载OEM设置(包括网站图标)
|
||
authStore.loadOemSettings()
|
||
})
|
||
</script>
|
||
|
||
<style scoped>
|
||
#app {
|
||
min-height: 100vh;
|
||
}
|
||
</style> |