Skip to content

Commit

Permalink
HC-145 [Feat] 쓰레드 사진 다중 업로드 구현 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sseho committed Sep 27, 2024
1 parent 52630f5 commit 2ab08be
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/thread/ThreadComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export default {
isLastPage: false,
files: null,
fileList: [],
reqFiles: [],
};
},
created() {
Expand All @@ -101,8 +102,10 @@ export default {
methods: {
fileUpdate(){
this.files.forEach(file => this.fileList.push({...file, imageUrl: URL.createObjectURL(file)}));
console.log("files: ", this.files);
console.log("imageUrl: ", this.imageUrl);
console.log("files: ", this.fileList);
this.fileList.forEach(file => this.reqFiles.push({fileName:file.name, fileSize:file.size}))
console.log("reqFiles: ", this.reqFiles);
},
async getMessageList() {
try {
Expand Down

0 comments on commit 2ab08be

Please sign in to comment.