瀏覽代碼

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