mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
fix: bug fix
This commit is contained in:
parent
e14d37e617
commit
0eb816635d
@ -37,7 +37,7 @@ export default defineComponent({
|
|||||||
const handleElement = computed<PPTElement>(() => store.getters.handleElement)
|
const handleElement = computed<PPTElement>(() => store.getters.handleElement)
|
||||||
|
|
||||||
const elementTabs = computed(() => {
|
const elementTabs = computed(() => {
|
||||||
if (handleElement.value.type === 'text') {
|
if (handleElement.value?.type === 'text') {
|
||||||
return [
|
return [
|
||||||
{ label: '样式', value: ToolbarStates.EL_STYLE },
|
{ label: '样式', value: ToolbarStates.EL_STYLE },
|
||||||
{ label: '符号', value: ToolbarStates.SYMBOL },
|
{ label: '符号', value: ToolbarStates.SYMBOL },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user