From 82674796e82cfc9df416420a2f14a6fc3a16968a Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Tue, 30 Jan 2024 12:02:43 +0900 Subject: [PATCH] =?UTF-8?q?=EC=BD=98=ED=85=90=EC=B8=A0=20=EC=97=85?= =?UTF-8?q?=EB=A1=9C=EB=93=9C=20-=20=EB=AF=B8=EB=A6=AC=EB=93=A3=EA=B8=B0?= =?UTF-8?q?=20=EC=83=9D=EC=84=B1=ED=95=98=EC=A7=80=20=EC=95=8A=EC=9D=84=20?= =?UTF-8?q?=EC=88=98=20=EC=9E=88=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Content/ContentList.vue | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/src/views/Content/ContentList.vue b/src/views/Content/ContentList.vue index 360125a..657edf8 100644 --- a/src/views/Content/ContentList.vue +++ b/src/views/Content/ContentList.vue @@ -426,6 +426,22 @@ + + + + 미리듣기 생성 + + + + + + @@ -598,6 +614,7 @@ export default { audio_content: { price: 0, is_adult: false, + is_generate_preview: true, is_comment_available: true, }, audio_contents: [], @@ -647,8 +664,6 @@ export default { this.audio_content.is_adult = item.isAdult this.audio_content.is_comment_available = item.isCommentAvailable this.audio_content.cover_image_url = item.coverImageUrl - console.log(this.audio_content) - this.show_modify_dialog = true }, @@ -753,6 +768,7 @@ export default { price: this.audio_content.price, themeId: this.audio_content.theme_id, isAdult: this.audio_content.is_adult, + isGeneratePreview: this.audio_content.price > 0 ? this.audio_content.is_generate_preview : false, isOnlyRental: this.audio_content.is_only_rental, isCommentAvailable: this.audio_content.is_comment_available } @@ -817,8 +833,6 @@ export default { formData.append("contentFile", this.audio_content.content_file) formData.append("request", JSON.stringify(request)) - console.log(request) - const res = await api.createAudioContent(formData) if (res.status === 200 && res.data.success === true) { this.is_loading = false