[update] 修改bug80882
This commit is contained in:
+2
-2
@@ -346,12 +346,12 @@ export default {
|
||||
const uidGenerator = () => {
|
||||
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 {
|
||||
uid: uidGenerator(),
|
||||
...item
|
||||
}
|
||||
})
|
||||
}) : []
|
||||
this.dataSource = data.inspectContents && data.inspectContents.length > 0 ? data.inspectContents.map(item => {
|
||||
return {
|
||||
uid: uidGenerator(),
|
||||
|
||||
Reference in New Issue
Block a user