diff --git a/src/views/attachment/AttachmentList.vue b/src/views/attachment/AttachmentList.vue index b353662e..957b334a 100644 --- a/src/views/attachment/AttachmentList.vue +++ b/src/views/attachment/AttachmentList.vue @@ -149,7 +149,7 @@ export default { data() { return { uploadVisible: false, - selectAttachment: null, + selectAttachment: {}, attachments: [], editable: false, pagination: { diff --git a/src/views/attachment/components/AttachmentDrawer.vue b/src/views/attachment/components/AttachmentDrawer.vue index 725086e2..9bf8f2d3 100644 --- a/src/views/attachment/components/AttachmentDrawer.vue +++ b/src/views/attachment/components/AttachmentDrawer.vue @@ -121,7 +121,7 @@ export default { sort: '' }, attachments: [], - selectedAttachment: null, + selectedAttachment: {}, attachmentUploadHandler: attachmentApi.upload } },