Timers and other features for Heroes of the Storm
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
 

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