jwyu 8 月之前
父節點
當前提交
25f627fbfe
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/dataEntry_manage/components/sectionalCombination/seriesEdit.vue

+ 1 - 1
src/views/dataEntry_manage/components/sectionalCombination/seriesEdit.vue

@@ -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
       }