diff options
Diffstat (limited to 'src/pages/UploadCreate.vue')
| -rw-r--r-- | src/pages/UploadCreate.vue | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/pages/UploadCreate.vue b/src/pages/UploadCreate.vue index 53a6a36..e1d027d 100644 --- a/src/pages/UploadCreate.vue +++ b/src/pages/UploadCreate.vue @@ -225,12 +225,10 @@ return } let params = { - upload: { - title: this.title, - description: this.description, - files: this.files.map(el => el._id), - pic: this.pic, - }, + title: this.title, + description: this.description, + files: this.files.map(el => el._id), + pic: this.pic, } this.$http.post('/uploads', params) .then((response) => { |
