优化巡检提交的提示信息
This commit is contained in:
parent
15288eaa10
commit
1f7eebd66a
@ -197,8 +197,10 @@ export default {
|
||||
title: '提交成功',
|
||||
icon: 'success'
|
||||
})
|
||||
// 提交成功后,重置表单
|
||||
this.getInfo(this.taskId);
|
||||
// 提交成功后,延迟1秒再重置表单
|
||||
setTimeout(() => {
|
||||
this.getInfo(this.taskId);
|
||||
}, 1000);
|
||||
} catch (error) {
|
||||
uni.hideLoading();
|
||||
console.error('提交失败', error)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user