Initial commit: 网络验证平台

This commit is contained in:
Admin
2026-04-27 17:22:56 +08:00
commit afe67d704e
780 changed files with 88960 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
import type { App } from 'vue'
import { createPinia } from 'pinia'
import { createPersistedState } from 'pinia-plugin-persistedstate'
const pinia = createPinia()
const persistedState = createPersistedState({
storage: sessionStorage,
})
pinia.use(persistedState)
export function setupPinia(app: App) {
app.use(pinia)
}
export default pinia