@@ -88,9 +88,16 @@
message: this.arrErrorList[0],
forbidClick: true
})
+ return
}
submitData(postData).then(res => {
- this.$router.replace({ path: '/loan/detail' })
+ if (res.status) {
+ this.$router.replace({ path: `/loan/detail/${this.id}` })
+ }
+ Toast(res.msg)
+ }).catch(err => {
+ Toast(err.msg)
@@ -115,7 +115,13 @@
return
postBespeak(postData).then(res => {
- this.$router.push({ path: `/loan/detail/${postData.id}` })
+ this.$router.push({ path: `/loan/detail/${postData.id}` })