feat: 视觉风格显示阶段完成与下一步
This commit is contained in:
1 parent
379fedeccd
commit
cc90520e97
1 file changed
+9
-1
@@ -28,6 +28,7 @@ const disabled = computed(() => blocked.value || !!query.error.value || !query.d
|
||||
const editorRevision = ref(0)
|
||||
const imageRevision = ref(0)
|
||||
const dirty = ref(false)
|
||||
const nextReady = computed(() => projectContext.stageReadiness.value?.visualStyle.ready === true)
|
||||
|
||||
/** 状态是只读说明,与操作按钮分组;读取失败不能被误报成尚未创建。 */
|
||||
const statusInfo = computed(() => {
|
||||
@@ -134,12 +135,19 @@ function removeImage(image: VisualStyleImage) {
|
||||
title="刷新风格"
|
||||
><template #icon><RefreshCw :size="16" /></template
|
||||
></NButton>
|
||||
<RouterLink :to="`/projects/${projectId}/subject-identity`" class="text-button"
|
||||
<RouterLink
|
||||
v-if="nextReady"
|
||||
:to="`/projects/${projectId}/subject-identity`"
|
||||
class="text-button"
|
||||
>下一步:主体身份 →</RouterLink
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<NAlert v-if="nextReady" type="success" :show-icon="false" class="mb-4">
|
||||
视觉风格已准备好,可以继续确认人物、场景和道具的主体身份。
|
||||
<RouterLink :to="`/projects/${projectId}/subject-identity`" class="text-button ml-2">继续主体身份 →</RouterLink>
|
||||
</NAlert>
|
||||
<NAlert v-if="query.error.value" role="alert" type="error" :show-icon="false" class="mb-4"
|
||||
>{{ query.error.value }} 当前内容读取失败,请刷新后重试;已有内容不会被覆盖。
|
||||
</NAlert>
|
||||
|
||||
Reference in new issue
Block a user