详情旧数据兼容

This commit is contained in:
Jam committed 2022-11-28 14:32:21 +08:00
1 parent 30f225df00
commit e78ebb747d
1 file changed
+1 -1
+1 -1
View File
@@ -238,7 +238,7 @@ new Vue({
// 更新操作人到连线
taskHistoryConfigList.lineList.map(line => {
let operationByUser = (taskHistoryList.find(taskHistory => taskHistory.taskConfigId == line.from && taskHistory.taskLineTo == line.to) || {}).operationByUser;
line.origin.text.value = `${operationByUser}-${line.label}`;
line.origin && (line.origin.text.value = `${operationByUser}-${line.label}`);
});
this.taskHistoryConfigList = taskHistoryConfigList;
this.isTableLoading = false;