mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
perf: 文本类型补充
This commit is contained in:
parent
29805c8c44
commit
ad25d922c9
@ -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'
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 文本元素
|
* 文本元素
|
||||||
|
@ -66,6 +66,7 @@ const textTypeOptions = ref<{ label: string; value: TextType | '' }[]>([
|
|||||||
{ label: '页眉', value: 'header' },
|
{ label: '页眉', value: 'header' },
|
||||||
{ label: '页脚', value: 'footer' },
|
{ label: '页脚', value: 'footer' },
|
||||||
{ label: '节编号', value: 'partNumber' },
|
{ label: '节编号', value: 'partNumber' },
|
||||||
|
{ label: '项目编号', value: 'itemNumber' },
|
||||||
])
|
])
|
||||||
|
|
||||||
const slideType = computed(() => currentSlide.value?.type || '')
|
const slideType = computed(() => currentSlide.value?.type || '')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user