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