element 新增修改公用一个弹窗,表单resetFields不生效
编辑时 表单赋值使用 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
};
});