tab路由页面刷新active的问题
This commit is contained in:
@@ -20,10 +20,12 @@ export default {
|
||||
name: 'ProcessFullInspection',
|
||||
data() {
|
||||
return {
|
||||
activeName: 'fullInspection'
|
||||
activeName: ''
|
||||
}
|
||||
},
|
||||
mounted() {},
|
||||
mounted() {
|
||||
this.activeName = this.$router.history.current.name
|
||||
},
|
||||
methods: {
|
||||
handleSelect(name) {
|
||||
this.$router.push({ name: name })
|
||||
|
||||
Reference in New Issue
Block a user