From f41fb9862b3d76de3d9cb9082fefb2227a3997f5 Mon Sep 17 00:00:00 2001 From: Arne Schauf Date: Sun, 4 Mar 2018 03:47:01 +0100 Subject: add tags on upload create --- src/pages/UploadCreate.vue | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) (limited to 'src/pages') diff --git a/src/pages/UploadCreate.vue b/src/pages/UploadCreate.vue index e1d027d..26e7703 100644 --- a/src/pages/UploadCreate.vue +++ b/src/pages/UploadCreate.vue @@ -8,16 +8,23 @@
{{ errors.slug }}
- - - - - - +
+ + + + + + + + + +
Next @@ -133,6 +140,7 @@ data () { return { files: [], + tags: [], title: '', description: '', slug: '', @@ -229,6 +237,7 @@ description: this.description, files: this.files.map(el => el._id), pic: this.pic, + tags: this.tags, } this.$http.post('/uploads', params) .then((response) => { -- cgit v1.2.3-54-g00ecf