巡检页面,提交之后重新请求数据,使禁用状态实时刷新
This commit is contained in:
parent
c54b0dd1ad
commit
c87d3dfb5d
@ -197,6 +197,8 @@ export default {
|
|||||||
title: '提交成功',
|
title: '提交成功',
|
||||||
icon: 'success'
|
icon: 'success'
|
||||||
})
|
})
|
||||||
|
// 提交成功后,重置表单
|
||||||
|
this.getInfo(this.taskId);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
console.error('提交失败', error)
|
console.error('提交失败', error)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user