From 1bffedfd854fc905ffa40014a0143579a7f25a84 Mon Sep 17 00:00:00 2001 From: Yu Sung Date: Tue, 7 Apr 2026 14:36:37 +0900 Subject: [PATCH] =?UTF-8?q?feat(content):=20=EC=9C=A0=EB=A3=8C=20=EC=BD=98?= =?UTF-8?q?=ED=85=90=EC=B8=A0=EC=97=90=EB=A7=8C=20=EC=A0=95=EC=82=B0?= =?UTF-8?q?=EC=9A=94=EC=9C=A8=20=EC=84=A4=EC=A0=95=20UI=20=EB=85=B8?= =?UTF-8?q?=EC=B6=9C=20=EB=B0=8F=20=EC=9A=94=EC=B2=AD=20=EA=B0=80=EB=93=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Content/ContentList.vue | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/views/Content/ContentList.vue b/src/views/Content/ContentList.vue index c69d5e5..b759dec 100644 --- a/src/views/Content/ContentList.vue +++ b/src/views/Content/ContentList.vue @@ -364,7 +364,7 @@ - + 정산요율 @@ -381,7 +381,7 @@ - + 정산요율 삭제 @@ -677,9 +677,14 @@ export default { const request = { id: this.audio_content.id, isDefaultCoverImage: this.audio_content.is_default_cover_image, - isSettlementRatioDeleted: this.audio_content.is_settlement_ratio_deleted, }; + // 유료 콘텐츠인 경우에만 정산요율 관련 플래그/값 전송 고려 + const isPaid = this.selected_audio_content && this.selected_audio_content.price > 0; + if (isPaid) { + request.isSettlementRatioDeleted = this.audio_content.is_settlement_ratio_deleted; + } + if ( this.audio_content.title !== this.selected_audio_content.title && this.audio_content.title.trim().length > 0 @@ -717,7 +722,7 @@ export default { this.audio_content.settlement_ratio !== undefined ? String(this.audio_content.settlement_ratio) : ""; - if (!this.audio_content.is_settlement_ratio_deleted && newRatio !== originalRatio) { + if (isPaid && !this.audio_content.is_settlement_ratio_deleted && newRatio !== originalRatio) { request.settlementRatio = newRatio; }