Timers and other features for Heroes of the Storm
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 

35 lignes
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>