소스 검색

fix bug 1762 tips

haojianlong 5 년 전
부모
커밋
daf46e5aae
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/point/config_point/steps/index.vue

+ 1 - 1
src/views/point/config_point/steps/index.vue

@@ -116,7 +116,7 @@
         beforeRouteLeave(to, from, next) {
             let step = this.$refs.step
             let flag = step.hasOwnProperty('noSaveData') ? step.noSaveData() : false
-            if(flag){
+            if(flag || this.activeStep == 4 || this.activeStep == 3){
                 next()
             }else{
                 this.$confirm('存在数据未保存, 是否继续?', '提示', {