Browse Source

fix bug 1762 tips

haojianlong 5 năm trước cách đây
mục cha
commit
daf46e5aae
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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('存在数据未保存, 是否继续?', '提示', {