mirror of
https://github.com/pipipi-pikachu/PPTist.git
synced 2025-04-15 02:20:00 +08:00
fix: 音视频元素添加动画后放映异常(#227)
This commit is contained in:
parent
5a0f3ee81c
commit
fc5a3024a6
@ -29,7 +29,7 @@ import BaseImageElement from '@/views/components/element/ImageElement/BaseImageE
|
||||
import BaseTextElement from '@/views/components/element/TextElement/BaseTextElement.vue'
|
||||
import BaseShapeElement from '@/views/components/element/ShapeElement/BaseShapeElement.vue'
|
||||
import BaseLineElement from '@/views/components/element/LineElement/BaseLineElement.vue'
|
||||
import ScreenChartElement from '@/views/components/element/ChartElement/ScreenChartElement.vue'
|
||||
import BaseChartElement from '@/views/components/element/ChartElement/BaseChartElement.vue'
|
||||
import BaseTableElement from '@/views/components/element/TableElement/BaseTableElement.vue'
|
||||
import BaseLatexElement from '@/views/components/element/LatexElement/BaseLatexElement.vue'
|
||||
import ScreenVideoElement from '@/views/components/element/VideoElement/ScreenVideoElement.vue'
|
||||
@ -49,7 +49,7 @@ const currentElementComponent = computed<unknown>(() => {
|
||||
[ElementTypes.TEXT]: BaseTextElement,
|
||||
[ElementTypes.SHAPE]: BaseShapeElement,
|
||||
[ElementTypes.LINE]: BaseLineElement,
|
||||
[ElementTypes.CHART]: ScreenChartElement,
|
||||
[ElementTypes.CHART]: BaseChartElement,
|
||||
[ElementTypes.TABLE]: BaseTableElement,
|
||||
[ElementTypes.LATEX]: BaseLatexElement,
|
||||
[ElementTypes.VIDEO]: ScreenVideoElement,
|
||||
|
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="screen-element-audio"
|
||||
<div class="base-element-audio screen-element-audio"
|
||||
:style="{
|
||||
top: elementInfo.top + 'px',
|
||||
left: elementInfo.left + 'px',
|
||||
|
@ -1,13 +0,0 @@
|
||||
<template>
|
||||
<BaseChartElement class="screen-element-chart" :elementInfo="elementInfo" />
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import type { PPTChartElement } from '@/types/slides'
|
||||
|
||||
import BaseChartElement from './BaseChartElement.vue'
|
||||
|
||||
defineProps<{
|
||||
elementInfo: PPTChartElement
|
||||
}>()
|
||||
</script>
|
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="screen-element-video"
|
||||
<div class="base-element-video screen-element-video"
|
||||
:style="{
|
||||
top: elementInfo.top + 'px',
|
||||
left: elementInfo.left + 'px',
|
||||
|
Loading…
x
Reference in New Issue
Block a user