fix: 修复剧本时长展示的 ESLint 严格相等检查
This commit is contained in:
1 parent
399ce83d67
commit
081b493b43
1 file changed
+1
-1
@@ -23,7 +23,7 @@ const state = computed(() => dramaRecords.value.at(-1)?.state)
|
||||
const episodes = computed(() => project.value?.episodes ?? [])
|
||||
const total = computed(() => project.value?.episodeCount ?? state.value?.episodeCount)
|
||||
/** 整剧目标时长仅作展示,不影响生成状态。 */
|
||||
const targetMinutes = computed(() => project.value?.targetDurationSeconds == null ? null : Math.round(project.value.targetDurationSeconds / 60))
|
||||
const targetMinutes = computed(() => project.value?.targetDurationSeconds === null || project.value?.targetDurationSeconds === undefined ? null : Math.round(project.value.targetDurationSeconds / 60))
|
||||
const projectId = computed(() => project.value?.id ?? '')
|
||||
const operation = computed(() => getOperation(projectId.value))
|
||||
const backgroundExecution = useWorkflowExecution(projectId, 'create-drama')
|
||||
|
||||
Reference in new issue
Block a user