路由跳转

This commit is contained in:
yanran200730
2022-07-27 10:04:40 +08:00
parent 5cb525d9a2
commit 2282183509
2 changed files with 9 additions and 4 deletions

View File

@@ -35,7 +35,12 @@
},
mounted () {
if (this.$route.query('id')) {
this.component = 'Detail'
this.params = {
id: this.$route.query('id')
}
}
},
methods: {