try without query check
This commit is contained in:
@@ -32,14 +32,13 @@ export default {
|
|||||||
return tag.replace(/ /g, '').toLowerCase()
|
return tag.replace(/ /g, '').toLowerCase()
|
||||||
},
|
},
|
||||||
checkReference(){
|
checkReference(){
|
||||||
if(this.$route.query.card) {
|
const query = this.$route.query.card
|
||||||
const query = this.$route.query.card
|
const title = this.createReferenceTag(this.$props.title)
|
||||||
const title = this.createReferenceTag(this.$props.title)
|
|
||||||
|
this.active = title === query
|
||||||
|
? 'card--active'
|
||||||
|
: ''
|
||||||
|
|
||||||
this.active = title === query
|
|
||||||
? 'card--active'
|
|
||||||
: ''
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|||||||
Reference in New Issue
Block a user