chore(merge): 批量上传创建的分集默认已上线

This commit is contained in:
Zhou Weidong authored and trae-solo-agent committed 2026-10-21 22:53:22 +08:00
commit 189a7f689a
1 file changed
+2 -2
@@ -44,7 +44,7 @@ interface EpisodeDraft {
error: string
}
const DRAFT_STATUS = 'draft'
const PUBLISHED_STATUS = 'published'
const rows = ref<EpisodeDraft[]>([])
const submitting = ref(false)
@@ -119,7 +119,7 @@ async function createOne(row: EpisodeDraft): Promise<void> {
videoUrl: row.videoUrl,
isFree: row.isFree,
unlockCoin: row.isFree ? 0 : props.defaultUnlockCoin,
status: DRAFT_STATUS
status: PUBLISHED_STATUS
})
row.saved = true
row.error = ''