Commit 43bf84cb authored by Le Dinh Trung's avatar Le Dinh Trung

fixbuf miss ID

parent 95ae8349
<template> <template>
<v-row
justify="center"
>
<v-dialog <v-dialog
v-model="dialog" v-model="dialog"
width="450px" width="450px"
...@@ -102,6 +99,7 @@ export default { ...@@ -102,6 +99,7 @@ export default {
this.$auth.$storage.setUniversal('token', resp.data.data.bearer_token) this.$auth.$storage.setUniversal('token', resp.data.data.bearer_token)
this.$auth.$storage.setUniversal('userName', resp.data.data.name) this.$auth.$storage.setUniversal('userName', resp.data.data.name)
this.$auth.$storage.setUniversal('loggedIn', 'true') this.$auth.$storage.setUniversal('loggedIn', 'true')
this.$auth.$storage.setUniversal('ID', resp.data.data.id)
if (resp.status === 200) { if (resp.status === 200) {
this.$toast.success('Successfully authenticated', { this.$toast.success('Successfully authenticated', {
duration: 2000 duration: 2000
...@@ -129,4 +127,6 @@ export default { ...@@ -129,4 +127,6 @@ export default {
::v-deep .v-dialog{ ::v-deep .v-dialog{
background-color: #5ae2dc; background-color: #5ae2dc;
} }
.v-row {
}
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment