添加客户端

This commit is contained in:
2025-04-06 13:50:16 +08:00
parent 4476be60b5
commit d5c9e663da
32 changed files with 4462 additions and 443 deletions

View File

@@ -14,6 +14,10 @@ import { useAuthStore } from './store/useAuthStore'
import { useNotificationStore } from './store/useNotificationStore'
const pinia = createPinia()
export const getPinia = () => pinia
const app = createApp(App)
app.use(router).use(pinia).mount('#app')
QueryGetAPI<string>(`${BASE_API_URL}vtsuru/version`)
.then((version) => {
@@ -122,9 +126,6 @@ QueryGetAPI<string>(`${BASE_API_URL}vtsuru/version`)
UpdateAccountLoop()
})
const app = createApp(App)
app.use(router).use(pinia).mount('#app')
let currentVersion: string
let isHaveNewVersion = false