修改toast显示时间

This commit is contained in:
mengxiaolong
2020-09-23 17:00:12 +08:00
parent 2ad1d9d802
commit c689e75396

View File

@@ -402,7 +402,9 @@ export default {
// 校验补充资料 // 校验补充资料
if (this.issueType === '828601') { if (this.issueType === '828601') {
if (!this.checkSupplementData()) return this.$toast('请上传补充资料') if (!this.checkSupplementData()) return this.$toast('请上传补充资料')
this.$toast.loading() this.$toast.loading({
duration: 0
})
this.imageResultList.splice(0) this.imageResultList.splice(0)
/** /**
* 上传补充资料 * 上传补充资料
@@ -526,7 +528,9 @@ export default {
} }
// 更新问题件数据 // 更新问题件数据
try { try {
this.$toast.loading() this.$toast.loading({
duration: 0
})
let res = await updateQuestionDetail(problemData) let res = await updateQuestionDetail(problemData)
this.$toast.clear() this.$toast.clear()
if (res.result === '1') { if (res.result === '1') {