|
@@ -262,7 +262,7 @@ export default {
|
|
|
await this.$confirm(this.$t('EtaChartAddPage.series_del_tips'),this.$t('Dialog.warn_tit'))
|
|
|
}
|
|
|
this.list.splice(index,1)
|
|
|
- if(index===this.activeIndex){
|
|
|
+ if(this.activeIndex>this.list.length-1){
|
|
|
this.activeIndex=0
|
|
|
}
|
|
|
|