소스 검색

修复bug

shaogen1995 4 년 전
부모
커밋
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('本次编辑未保存,是否继续跳转页面', '提示', {