From db363712cc56f72e0b227e197c50d54f5577075a Mon Sep 17 00:00:00 2001 From: Choejiwon <jiwon0929@ajou.ac.kr> Date: Wed, 11 Dec 2019 02:14:17 +0900 Subject: [PATCH] UI update --- src/views/WriteFindPost.vue | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/views/WriteFindPost.vue b/src/views/WriteFindPost.vue index 33cbc95..f731c13 100644 --- a/src/views/WriteFindPost.vue +++ b/src/views/WriteFindPost.vue @@ -9,9 +9,6 @@ <!-- <v-flex xs12 md4> <v-text-field label="글 제목" v-model="findpost.title"/> </v-flex> --> - <v-flex xs12 md12> - <v-text-field label="반려견 견종" v-model="petType" class="purple-input"/> - </v-flex> <v-flex xs12 md12> <v-text-field label="발견장소" v-model="findPlace" class="purple-input"/> </v-flex> @@ -22,12 +19,15 @@ <v-textarea label="내용" v-model="body" class="purple-input" /> </v-flex> <v-flex xs12 md12> - <file-input label="File input"></file-input> + <file-input label="견종분류"></file-input> <input type="file" label="photo input" @change="fileSeleted"> - <v-btn color="green" @click="sendFile">Send</v-btn> + <v-btn color="green" @click="sendFile">유사견종</v-btn> </v-flex> - {{result}} + 확률이 높은 견종 : {{result}} <v-flex xs12 text-xs-right> + <v-flex xs12 md12> + <v-text-field label="견종을 모를시엔 유사견종을 참고하세요." v-model="petType" class="purple-input"/> + </v-flex> <v-btn class="mx-0 font-weight-light" color="success" @click="onClicked">작성 완료</v-btn> </v-flex> </v-layout> @@ -92,7 +92,7 @@ export default { console.log(`${key}`); } this.$http.post('/finderboard/image',formData,config).then((respose)=>{ - this.result = respose.data.result; + this.result = respose.data.result[0]; }).catch((err)=>{ alert(err.message); -- GitLab