bug
This commit is contained in:
@@ -35,10 +35,11 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
mounted () {
|
mounted () {
|
||||||
if (this.$route.query('id')) {
|
console.log(this.$route)
|
||||||
|
if (this.$route.params.id) {
|
||||||
this.component = 'Detail'
|
this.component = 'Detail'
|
||||||
this.params = {
|
this.params = {
|
||||||
id: this.$route.query('id')
|
id: this.$route.params.id
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user