Merge pull request '콘텐츠 수정 - 태그 수정 추가' (#32) from test into main

Reviewed-on: #32
This commit is contained in:
klaus 2025-06-02 13:59:01 +00:00
commit c49a304357
1 changed files with 19 additions and 0 deletions

View File

@ -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)
} }