Commit 8440ea0f by 张立顺

fix bug

1 parent 44a77dcf
...@@ -315,8 +315,8 @@ export default { ...@@ -315,8 +315,8 @@ export default {
val.content += childContent val.content += childContent
}) })
} else { } else {
val.content = `【${val.recordType == 1 ? '删除' : '修改'}】`
val?.detailList?.forEach((v, index) => { val?.detailList?.forEach((v, index) => {
val.content = `【${val.recordType == 1 ? '删除' : '修改'}】,`
childContent = `${v.fieldName}由${v.beforeValue}${v.valueUnit || ''}变为${v.afterValue}${v.valueUnit || ''}${index < val?.detailList?.length - 1 ? ',' : ''}` childContent = `${v.fieldName}由${v.beforeValue}${v.valueUnit || ''}变为${v.afterValue}${v.valueUnit || ''}${index < val?.detailList?.length - 1 ? ',' : ''}`
val.content += childContent val.content += childContent
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!