feat: Production 前置设计阻塞直达分镜页
This commit is contained in:
1 parent
b84badaecb
commit
cebf830fd8
1 file changed
+17
@@ -188,6 +188,11 @@ const identityBlocked = computed(
|
||||
(query.data.value?.keyframes.identityUnlocked ?? 0)
|
||||
)
|
||||
const staleKeyframes = computed(() => query.data.value?.keyframes.stalePrimaryKeyframe ?? 0)
|
||||
const invalidGenerationSpecs = computed(
|
||||
() =>
|
||||
(query.data.value?.keyframes.invalidGenerationSpec ?? 0) +
|
||||
(query.data.value?.prompts.invalidGenerationSpec ?? 0)
|
||||
)
|
||||
|
||||
/** 父页查询包含整个项目的就绪统计,单镜头变更后立即刷新。 */
|
||||
function refreshProject() {
|
||||
@@ -366,6 +371,18 @@ const videoRules = { videoLimit: integerRule('本批镜头上限'), videoRepairA
|
||||
>前往角色选角 →</RouterLink
|
||||
></NAlert
|
||||
>
|
||||
<NAlert
|
||||
v-if="invalidGenerationSpecs"
|
||||
type="warning"
|
||||
:show-icon="false"
|
||||
class="mt-4"
|
||||
>
|
||||
当前有 {{ invalidGenerationSpecs }} 项 GenerationSpec 前置设计不完整。
|
||||
常见原因是 Direction / VisualState 未覆盖全部镜头。
|
||||
<RouterLink :to="`/projects/${id}/storyboard`" class="text-button ml-2">
|
||||
前往分镜设计 →
|
||||
</RouterLink>
|
||||
</NAlert>
|
||||
<NAlert
|
||||
v-if="staleKeyframes"
|
||||
role="status"
|
||||
|
||||
Reference in new issue
Block a user