shaun-sheep 4 rokov pred
rodič
commit
63856face6
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      src/components/floorList.vue

+ 2 - 2
src/components/floorList.vue

@@ -37,13 +37,13 @@ export default {
         }
     },
     mounted() {
-        this.tabFloor('1F')
+        this.tabFloor()
     },
     computed: {
         ...mapGetters(['floorsArr'])
     },
     methods: {
-        tabFloor(item) {
+        tabFloor(item = '1F') {
             this.showT = true
             this.showB = true
             this.$cookie.set('floorNow', item, 3)