콘텐츠 업로드 - 미리듣기 최소 시간 30초에서 15초로 변경
This commit is contained in:
parent
c6ba77fde6
commit
21cfd00c92
|
@ -454,7 +454,7 @@
|
||||||
label="가격"
|
label="가격"
|
||||||
required
|
required
|
||||||
/>
|
/>
|
||||||
※ 유료 콘텐츠 가격을 입력하면 해당 콘텐츠의 미리듣기 시간을 설정할 수 있습니다.<br>미리듣기 시간은 최소 30초 이상 설정해야 합니다.
|
※ 유료 콘텐츠 가격을 입력하면 해당 콘텐츠의 미리듣기 시간을 설정할 수 있습니다.<br>미리듣기 시간은 최소 15초 이상 설정해야 합니다.
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
|
@ -870,7 +870,7 @@ export default {
|
||||||
!this.isValidTimeFormat(previewStartTime) ||
|
!this.isValidTimeFormat(previewStartTime) ||
|
||||||
!this.isValidTimeFormat(previewEndTime)
|
!this.isValidTimeFormat(previewEndTime)
|
||||||
) {
|
) {
|
||||||
this.notifyError("미리 듣기 시간 형식은 00:30:00 과 같아야 합니다")
|
this.notifyError("미리 듣기 시간 형식은 00:00:15 과 같아야 합니다")
|
||||||
this.is_loading = false
|
this.is_loading = false
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
@ -882,8 +882,8 @@ export default {
|
||||||
const totalSeconds2 = h2 * 3600 + m2 * 60 + s2;
|
const totalSeconds2 = h2 * 3600 + m2 * 60 + s2;
|
||||||
const timeDifference = totalSeconds2 - totalSeconds1;
|
const timeDifference = totalSeconds2 - totalSeconds1;
|
||||||
|
|
||||||
if (timeDifference < 30) {
|
if (timeDifference < 15) {
|
||||||
this.notifyError("미리 듣기의 최소 시간은 30초 입니다.")
|
this.notifyError("미리 듣기의 최소 시간은 15초 입니다.")
|
||||||
this.is_loading = false
|
this.is_loading = false
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue