mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-13 03:46:43 +08:00
[FIX]影像上传-请求上传接口错误情况,抛出错误并提示,提示语修改
This commit is contained in:
@@ -319,7 +319,6 @@ export default {
|
|||||||
}
|
}
|
||||||
that.list.push(obj)
|
that.list.push(obj)
|
||||||
} else {
|
} else {
|
||||||
that.$toast(res.resultMessage || '图片上传失败,请重新上传图片')
|
|
||||||
switch (that.type) {
|
switch (that.type) {
|
||||||
case 'fileListBank01':
|
case 'fileListBank01':
|
||||||
this.fileListBank01.pop()
|
this.fileListBank01.pop()
|
||||||
@@ -340,7 +339,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
error => {
|
error => {
|
||||||
that.$toast('网络错误,图片上传失败')
|
that.$toast('网络环境不佳,图片上传失败,请切换移动网络或稍后重试')
|
||||||
switch (that.type) {
|
switch (that.type) {
|
||||||
case 'fileListBank01':
|
case 'fileListBank01':
|
||||||
this.fileListBank01.pop()
|
this.fileListBank01.pop()
|
||||||
|
|||||||
@@ -1029,7 +1029,7 @@ export default {
|
|||||||
that.saleInsuredPersonInfoOther = []
|
that.saleInsuredPersonInfoOther = []
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
this.$toast('网络错误,图片上传失败')
|
this.$toast('网络环境不佳,图片上传失败,请切换移动网络或稍后重试')
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user