Timers and other features for Heroes of the Storm
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 
 

35 linhas
768 B

  1. <template>
  2. <div class="battleground" v-if="battleground">
  3. <div>Welcome to {{ battleground.name }}</div>
  4. <router-link to="alteracPass">Go to Alterac Pass</router-link>
  5. <router-link to="battlefieldOfEternity">Go to Battlefield Of Eternity</router-link>
  6. <router-link to="/battlegrounds">Back to selector</router-link>
  7. </div>
  8. </template>
  9. <script>
  10. import BATTLEGROUNDS from '../gameInfos/maps'
  11. export default {
  12. name: 'Battleground',
  13. data () {
  14. return {
  15. }
  16. },
  17. computed: {
  18. battleground () {
  19. return BATTLEGROUNDS[this.$route.params.battlegroundId]
  20. }
  21. },
  22. watch: {
  23. $route (to) {
  24. this.battlegroundId = to.params.battlegroundId
  25. }
  26. }
  27. }
  28. </script>
  29. <style lang="sass">
  30. </style>