콘텐츠 수정 - 태그 수정 추가
This commit is contained in:
parent
3432af8e24
commit
54216198e1
|
@ -227,6 +227,20 @@
|
|||
</v-col>
|
||||
</v-row>
|
||||
</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-row align="center">
|
||||
<v-col cols="4">
|
||||
|
@ -784,6 +798,7 @@ export default {
|
|||
this.audio_content.is_point_available = item.isPointAvailable
|
||||
this.audio_content.is_comment_available = item.isCommentAvailable
|
||||
this.audio_content.cover_image_url = item.coverImageUrl
|
||||
this.audio_content.tags = item.tags
|
||||
this.show_modify_dialog = true
|
||||
},
|
||||
|
||||
|
@ -1058,6 +1073,10 @@ export default {
|
|||
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) {
|
||||
formData.append("coverImage", this.audio_content.cover_image)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue