mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-06 18:36:55 +08:00
添加客户端
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user