feat: 分镜状态暴露即时视觉覆盖完成度

This commit is contained in:
GouJ committed 2026-09-26 20:28:08 +08:00
1 parent 43e043c88d
commit b84badaecb
1 file changed
+7
+7
View File
@@ -87,6 +87,12 @@ export function useStoryboard() {
data.value.directions.directionCount === data.value.directions.shotCount && data.value.directions.directionCount === data.value.directions.shotCount &&
data.value.directions.coverage === 1 data.value.directions.coverage === 1
) )
const visualStateComplete = computed(
() =>
!!data.value?.visualStates.shotCount &&
data.value.visualStates.visualStateCount === data.value.visualStates.shotCount &&
data.value.visualStates.coverage === 1
)
const hasCurrentEpisodeShots = computed( const hasCurrentEpisodeShots = computed(
() => Math.max(data.value?.directions.shotCount ?? 0, data.value?.visualStates.shotCount ?? 0) > 0 () => Math.max(data.value?.directions.shotCount ?? 0, data.value?.visualStates.shotCount ?? 0) > 0
) )
@@ -182,6 +188,7 @@ export function useStoryboard() {
repairsValid, repairsValid,
blocked, blocked,
directionComplete, directionComplete,
visualStateComplete,
hasCurrentEpisodeShots, hasCurrentEpisodeShots,
run run
} }