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