This commit is contained in:
Nukeap committed 2024-06-06 16:00:04 +03:00
1 parent 069189a1dc
commit 0f8588fc0f
4 files changed
+19 -1

No files matched your search

+3 -1
View File
@@ -47,10 +47,12 @@ export const useAccountStore = defineStore("AccountStore", () => {
// геттер бывший
// const getUser=computed(()=> uyser.value)
function getuserFromStorage(){
try{
let u = VueJwtDecode.decode(localStorage.getItem("refresh"));
u.user.photo = checkremote(`${spravURL}${u.user.login}.jpg`);
return u.user;
}catch{
return {}}
}
const logging = async (anon) => {
AppStore.loading = true;