mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 04:09:29 +02:00
added username getting
This commit is contained in:
@@ -57,6 +57,7 @@ import AsideBarComponent from "@/components/AsidebarComponent.vue";
|
||||
import ChatComponent from "@/components/ChatComponent.vue";
|
||||
import HeaderComponent from "@/components/HeaderComponent.vue";
|
||||
import PaymentsModal from "@/components/PaymentsModal.vue";
|
||||
import { GetCookie } from "@/assets/js/storage/CookieStorage";
|
||||
import '@/assets/css/PagesStyles/profile.css'
|
||||
|
||||
export default {
|
||||
@@ -70,6 +71,10 @@ export default {
|
||||
arrayHistory: [],
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.username = GetCookie('SpUserName')
|
||||
console.log(this.username)
|
||||
},
|
||||
methods: {
|
||||
formatNumber(number) {
|
||||
return number < 10 ? `0${number}` : number;
|
||||
|
||||
Reference in New Issue
Block a user