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