首页 > 其他分享 >element 新增修改公用一个弹窗,表单resetFields不生效

element 新增修改公用一个弹窗,表单resetFields不生效

时间:2023-07-12 15:33:26浏览次数:42  
标签:nextTick resetFields 表单 priority taskType element id 弹窗 row

编辑时 表单赋值使用 this.$nextTick 即可

this.$nextTick(() => {
this.formData = {
id: row.id,
taskCode: row.taskCode,
fullName: row.fullName,
priority: row.priority,
taskType: row.taskType,
robotId: row.robotId,
starTtime: row.starTtime
};
});

标签:nextTick,resetFields,表单,priority,taskType,element,id,弹窗,row
From: https://www.cnblogs.com/zscxy/p/17547609.html

相关文章