shaogen1995 4 лет назад
Родитель
Сommit
feae9809d2
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/views/tab1/tab1_edit.vue

+ 1 - 0
src/views/tab1/tab1_edit.vue

@@ -756,6 +756,7 @@ export default {
     },
     // 上面的tab栏切换
     tabCut (index) {
+      if (index === this.topTabInd) return
       // console.log(999, index)
       if (this.cuontChange1 > 1 || this.cuontChange2 > 1 || this.cuontChange3 > 1 || this.cuontChange4 > 1 || this.cuontChange5 > 1) {
         this.$confirm('本次编辑未保存,是否继续跳转页面', '提示', {