콘텐츠 수정 - 태그 수정 추가
This commit is contained in:
		| @@ -227,6 +227,20 @@ | |||||||
|               </v-col> |               </v-col> | ||||||
|             </v-row> |             </v-row> | ||||||
|           </v-card-text> |           </v-card-text> | ||||||
|  |           <v-card-text> | ||||||
|  |             <v-row align="center"> | ||||||
|  |               <v-col cols="4"> | ||||||
|  |                 태그 | ||||||
|  |               </v-col> | ||||||
|  |               <v-col cols="8"> | ||||||
|  |                 <v-text-field | ||||||
|  |                   v-model="audio_content.tags" | ||||||
|  |                   label="예 : #연애 #커버곡 #태그" | ||||||
|  |                   required | ||||||
|  |                 /> | ||||||
|  |               </v-col> | ||||||
|  |             </v-row> | ||||||
|  |           </v-card-text> | ||||||
|           <v-card-text> |           <v-card-text> | ||||||
|             <v-row align="center"> |             <v-row align="center"> | ||||||
|               <v-col cols="4"> |               <v-col cols="4"> | ||||||
| @@ -784,6 +798,7 @@ export default { | |||||||
|       this.audio_content.is_point_available = item.isPointAvailable |       this.audio_content.is_point_available = item.isPointAvailable | ||||||
|       this.audio_content.is_comment_available = item.isCommentAvailable |       this.audio_content.is_comment_available = item.isCommentAvailable | ||||||
|       this.audio_content.cover_image_url = item.coverImageUrl |       this.audio_content.cover_image_url = item.coverImageUrl | ||||||
|  |       this.audio_content.tags = item.tags | ||||||
|       this.show_modify_dialog = true |       this.show_modify_dialog = true | ||||||
|     }, |     }, | ||||||
|  |  | ||||||
| @@ -1058,6 +1073,10 @@ export default { | |||||||
|           request.price = this.audio_content.price |           request.price = this.audio_content.price | ||||||
|         } |         } | ||||||
|  |  | ||||||
|  |         if (this.audio_content.tags !== this.selected_audio_content.tags) { | ||||||
|  |           request.tags = this.audio_content.tags | ||||||
|  |         } | ||||||
|  |  | ||||||
|         if (this.audio_content.cover_image !== null) { |         if (this.audio_content.cover_image !== null) { | ||||||
|           formData.append("coverImage", this.audio_content.cover_image) |           formData.append("coverImage", this.audio_content.cover_image) | ||||||
|         } |         } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Yu Sung
					Yu Sung