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('存在数据未保存, 是否继续?', '提示', {