|
@@ -229,7 +229,7 @@ export default {
|
|
'$route.path': {
|
|
'$route.path': {
|
|
handler(path) {
|
|
handler(path) {
|
|
let activeIndex = null
|
|
let activeIndex = null
|
|
- this.tabList.some((tab, index) => {
|
|
|
|
|
|
+ this.newTabList.some((tab, index) => {
|
|
if (path.includes(tab.path)) {
|
|
if (path.includes(tab.path)) {
|
|
activeIndex = index
|
|
activeIndex = index
|
|
return true
|
|
return true
|