fix pargar and login 2

This commit is contained in:
2026-08-01 14:10:21 +03:30
parent 0cd3772517
commit e41a898686
2 changed files with 16 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
import { ref } from 'vue'
import { defineStore } from 'pinia'
export const useConfigStore = defineStore('config', () => {
const config = ref(window.__APP_CONFIG__?.user)
async function getConfigData() {
config.value = window.__APP_CONFIG__?.user
}
return {
config,
getConfigData,
}
})