mirror of
https://gitlab.com/little-lines/frontend.git
synced 2024-11-22 06:56:51 +00:00
Merge branch 'main' of https://gitlab.com/openKMITL/little-lines/frontend
This commit is contained in:
commit
240701ed7a
2 changed files with 2 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
<v-list-item>
|
<v-list-item>
|
||||||
<v-list-item-title class="title-text">{{nearestStructureData.display_name}}</v-list-item-title>
|
<v-list-item-title class="title-text">{{nearestStructureData.display_name}}</v-list-item-title>
|
||||||
<v-list-item-subtitle class="subtitle-text">{{destination.subTitle}}</v-list-item-subtitle>
|
<!-- <v-list-item-subtitle class="subtitle-text">{{destination.subTitle}}</v-list-item-subtitle> -->
|
||||||
</v-list-item>
|
</v-list-item>
|
||||||
|
|
||||||
<v-list-item>
|
<v-list-item>
|
||||||
|
|
|
@ -119,7 +119,7 @@ export default {
|
||||||
// localStorage.setItem('isLoggedIn', true);
|
// localStorage.setItem('isLoggedIn', true);
|
||||||
// console.log(isLoggedIn);
|
// console.log(isLoggedIn);
|
||||||
console.log(data.success);
|
console.log(data.success);
|
||||||
sessionStorage.setItem('current_user', data.user.username);
|
sessionStorage.setItem('current_user', JSON.stringify({id:data.user._id,username:data.user.username,email:data.user.email}));
|
||||||
this.$router.push({ name: 'home' });
|
this.$router.push({ name: 'home' });
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
|
|
Loading…
Reference in a new issue