for(let i = 0i<this.attachments.length; i++){
                    // this.form.append('pics[]', this.attachments[i]);
                    var name = this.food_name;
                    this.menuInfo.push(namethis.attachments[i]);
                    this.form.append(namethis.attachments[i]);
                }


반복문으로 menuInfo라는 배열 안에 name이랑 attachments를 같은 칸에 넣고 싶은데


이렇게 하니까 이름이랑 attachments가 각자 다른 칸에 들어가더라구요

viewimage.php?id=3dafdf21f7d335ab67b1d1&no=24b0d769e1d32ca73ded8efa11d02831ee99512b64ee64d67099c224c5044eaa9745427a824f7009d2bf14605fe38cf4f7ef8f72f66dd75bcf5470a74172a71a54cabfd086ff28


이렇게 말고 0 : [ "name", file ]

               1 : [ "name", file ]

2 : [ "name", file ]


이런식으로 만들어보고 싶은데 어떻게 해야 될까요..?