diff --git a/src/features/production/components/KeyframeValidationHistory.vue b/src/features/production/components/KeyframeValidationHistory.vue index 3925041..7fd8c58 100644 --- a/src/features/production/components/KeyframeValidationHistory.vue +++ b/src/features/production/components/KeyframeValidationHistory.vue @@ -18,10 +18,12 @@ const props = defineProps<{ keyframeId: string /** 正在执行其他镜头操作时禁止提交审核。 */ disabled?: boolean + /** 在独立弹窗内直接展示内容,无需再次点击展开。 */ + initialOpen?: boolean }>() const emit = defineEmits<{ reviewed: [] }>() /** 默认折叠,仅展开后查询。 */ -const open = ref(false) +const open = ref(props.initialOpen ?? false) /** 查询键包含全部归属信息,旧请求会被取消。 */ const key = computed(() => open.value && props.shotId && props.keyframeId