尝试捕获异常
This commit is contained in:
@@ -482,10 +482,8 @@ export default {
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
})
|
||||
})
|
||||
|
||||
}
|
||||
} else if (state === 1) {
|
||||
let material = this.processing
|
||||
@@ -516,13 +514,20 @@ export default {
|
||||
this.nextStepLoading = false
|
||||
} else {
|
||||
this.nextStepLoading = true
|
||||
stepNextError(step).then(res => {
|
||||
stepNextError(step)
|
||||
.then(res => {
|
||||
this.nextStepLoading = false
|
||||
this.getDataList()
|
||||
materialNextStepFlagError().then(res => {
|
||||
this.submitButton = res.data === 0
|
||||
})
|
||||
})
|
||||
.catch((error) => {
|
||||
this.$message(error.message)
|
||||
})
|
||||
.finally(() => {
|
||||
this.nextStepLoading = false
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user