历史数据返回跳回重点问题监控

This commit is contained in:
yanyizhou
2021-11-19 15:03:26 +08:00
parent 6df1fdcef2
commit bfb46f056e
2 changed files with 13 additions and 1 deletions
@@ -29,8 +29,17 @@ export default {
}, },
methods: { methods: {
handleClick(tab, event) { handleClick(tab, event) {
},
getActiveName(){
if (this.$route.query.activeName){
this.activeName = this.$route.query.activeName
}
console.log('35',this.activeName)
} }
}, },
created() {
this.getActiveName()
},
watch: {}, watch: {},
mounted () {} mounted () {}
} }
@@ -373,7 +373,10 @@ export default {
}, },
back() { back() {
this.$router.push({ this.$router.push({
name: 'NonConfomity' name: 'NonConfomity',
query:{
activeName:'keynote'
}
}) })
}, },
// 清空 查询条件 // 清空 查询条件