[update] 修改bug80882

This commit is contained in:
lideqin
2024-01-18 17:43:23 +08:00
parent 59333edeeb
commit 67af417c2b
@@ -346,12 +346,12 @@ export default {
const uidGenerator = () => { const uidGenerator = () => {
return '-' + parseInt(Math.random() * 10000 + 1, 10) return '-' + parseInt(Math.random() * 10000 + 1, 10)
} }
this.drafterDataSource = data.otherDraftUserVOS.map(item => { this.drafterDataSource = data.otherDraftUserVOS && data.otherDraftUserVOS.length > 0 ? data.otherDraftUserVOS.map(item => {
return { return {
uid: uidGenerator(), uid: uidGenerator(),
...item ...item
} }
}) }) : []
this.dataSource = data.inspectContents && data.inspectContents.length > 0 ? data.inspectContents.map(item => { this.dataSource = data.inspectContents && data.inspectContents.length > 0 ? data.inspectContents.map(item => {
return { return {
uid: uidGenerator(), uid: uidGenerator(),