路由跳转
This commit is contained in:
@@ -35,7 +35,12 @@
|
||||
},
|
||||
|
||||
mounted () {
|
||||
|
||||
if (this.$route.query('id')) {
|
||||
this.component = 'Detail'
|
||||
this.params = {
|
||||
id: this.$route.query('id')
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
||||
Reference in New Issue
Block a user