perf: 文本类型补充

This commit is contained in:
pipipi-pikachu 2025-01-01 19:45:58 +08:00
parent 29805c8c44
commit ad25d922c9
2 changed files with 2 additions and 1 deletions

View File

@ -139,7 +139,7 @@ interface PPTBaseElement {
}
export type TextType = 'title' | 'subtitle' | 'content' | 'item' | 'itemTitle' | 'notes' | 'header' | 'footer' | 'partNumber'
export type TextType = 'title' | 'subtitle' | 'content' | 'item' | 'itemTitle' | 'notes' | 'header' | 'footer' | 'partNumber' | 'itemNumber'
/**
*

View File

@ -66,6 +66,7 @@ const textTypeOptions = ref<{ label: string; value: TextType | '' }[]>([
{ label: '页眉', value: 'header' },
{ label: '页脚', value: 'footer' },
{ label: '节编号', value: 'partNumber' },
{ label: '项目编号', value: 'itemNumber' },
])
const slideType = computed(() => currentSlide.value?.type || '')