This commit is contained in:
xiongchengqiang 2020-12-15 15:53:06 +08:00
parent b41c3b33b1
commit 9aed08d0cd
2 changed files with 7 additions and 5 deletions

View File

@ -282,10 +282,11 @@ export default {
} }
}, },
async mounted () { async mounted () {
await this.handleGrt375() console.log('this.$route.query: ', this.$route.query)
if (this.$route.query.detailId) { // await this.handleGrt375()
this.handleLookProcess(this.$route.query.detailId) // if (this.$route.params.detailId) {
} // this.handleLookProcess(this.$route.query.detailId)
// }
}, },
methods: { methods: {
// //

View File

@ -69,7 +69,8 @@ export default {
this.$nextTick(() => { this.$nextTick(() => {
this.$router.replace({ this.$router.replace({
name: item[0].name, name: item[0].name,
query: this.$route.query query: this.$route.query,
params: this.$route.query
}) })
}) })
} }