|
@@ -111,7 +111,7 @@ export default {
|
|
|
]
|
|
|
|
|
|
return {
|
|
|
- actice_idx: 1,
|
|
|
+ actice_idx: '1',
|
|
|
navs: navs
|
|
|
}
|
|
|
},
|
|
@@ -119,7 +119,7 @@ export default {
|
|
|
let index = this.navs.findIndex((i) => {
|
|
|
console.log(i.link.name, this.$route.name)
|
|
|
return i.link.name === this.$route.name
|
|
|
- })
|
|
|
+ }).toString()
|
|
|
console.log(index)
|
|
|
|
|
|
if (index !== -1) {
|