Explorar o código

修改默认楼层

shaun-sheep %!s(int64=4) %!d(string=hai) anos
pai
achega
63856face6
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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)