Necessary problems fixed
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user