This commit is contained in:
iriska-gri committed 2023-09-05 16:07:55 +03:00
commit 8c95bbf909
126 files changed
+16922

No files matched your search

+44
View File
@@ -0,0 +1,44 @@
<template>
<router-view />
</template>
<script setup >
import VueJwtDecode from 'vue-jwt-decode'
import {useAccountStore} from '@/store/AccountStore'
const accountStore = useAccountStore()
const checkuser = ()=>{
const token = localStorage.getItem("refresh")
if(token){
const u = VueJwtDecode.decode(token)
accountStore.setUser(u.user)
}
}
checkuser()
</script>
<style>
::-webkit-scrollbar {
width: 1px;
height: 6px;
}
/* Track */
::-webkit-scrollbar-track {
-webkit-border-radius: 6px;
border-radius: 6px;
}
/* Handle */
::-webkit-scrollbar-thumb {
-webkit-border-radius: 6px;
border-radius: 6px;
background: rgb(var(--v-theme-scrollbar))
}
::-webkit-scrollbar-thumb:window-inactive {
background: rgb(var(--v-theme-scrollbar))
}
</style>