|
|
|
@ -369,11 +369,17 @@ export default { |
|
|
|
this.$alert(data.ffmc, '', { |
|
|
|
confirmButtonText: this.$t('page.business.study.studyMethod.qyd'), |
|
|
|
callback: action => { |
|
|
|
debugger |
|
|
|
if(this.$route.path===data.toUrl){ |
|
|
|
this.$emit('changeTab',{key:'syff'}) |
|
|
|
}else{ |
|
|
|
this.$tab.openPage("loading", data.toUrl) |
|
|
|
let index = _.findIndex(this.$store.state.tagsView.visitedViews,(tab)=>{ |
|
|
|
return tab.path === data.toUrl |
|
|
|
}) |
|
|
|
if(index>-1){ |
|
|
|
this.$tab.refreshPage(this.$store.state.tagsView.visitedViews[index]); |
|
|
|
}else{ |
|
|
|
this.$tab.openPage("loading", data.toUrl) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
|