Advertisement
Guest User

Untitled

a guest
Jan 24th, 2020
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. <v-card v-else>
  2. <v-card-title>
  3. <h3> Bem vindo, {{nome}}</h3>
  4. <v-spacer></v-spacer>
  5. <h3>{{data_atual}}</h3>
  6. </v-card-title>
  7. <br>
  8. <v-card-text>
  9. <h4>Não tem consultas para hoje!</h4>
  10. </v-card-text>
  11. </v-card>
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19. ######################################
  20.  
  21.  
  22.  
  23. var today = new Date();
  24. var date =
  25. today.getFullYear() +
  26. "-" +
  27. (today.getMonth() + 1) +
  28. "-" +
  29. today.getDate();
  30. this.data_atual = date
  31.  
  32.  
  33. response = await axios.get(lhost+'/api/utilizadores/utilizador/'+ this.$store.getters.currentUser);
  34. this.nome = response.data.nome
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement