Necessary problems fixed

This commit is contained in:
Haydon Curteis-Lateo
2019-10-04 14:24:32 +01:00
parent 06fbe259fd
commit 927f80436e

View File

@@ -25,7 +25,7 @@ export default {
activeCard: '', activeCard: '',
showTitle: false, showTitle: false,
showCards: false, showCards: false,
}; }
}, },
computed: { computed: {
areCardsVisible() { areCardsVisible() {
@@ -38,6 +38,9 @@ export default {
created() { created() {
this.activeCard = this.$route.query.card || '' this.activeCard = this.$route.query.card || ''
}, },
mounted() {
this.showTitle = true
},
methods: { methods: {
setActiveCard(index) { setActiveCard(index) {
this.activeCard = index this.activeCard = index
@@ -52,15 +55,9 @@ export default {
console.error(e) console.error(e)
} }
}, },
afterEnter(el) { afterEnter() {
this.showCards = true; this.showCards = true
} },
},
mounted() {
this.showTitle = true;
},
created() {
this.activeCard = this.$route.query.card || ''
}, },
} }
</script> </script>