From b0e5b9ffa1539dda50a6c3cf42b5e9739db4a24d Mon Sep 17 00:00:00 2001 From: Sruimeng <934274351@qq.com> Date: Wed, 25 Sep 2024 17:38:04 +0800 Subject: [PATCH] =?UTF-8?q?chore(mdeida):=20=E4=BC=98=E5=8C=96=E6=B3=A8?= =?UTF-8?q?=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/item/audio-component.ts | 9 ++++----- src/item/video-component.ts | 4 ++-- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/item/audio-component.ts b/src/item/audio-component.ts index efa9267..f97069e 100644 --- a/src/item/audio-component.ts +++ b/src/item/audio-component.ts @@ -1,6 +1,6 @@ import type { ComponentData, DataPath } from '../components'; import type { ItemType } from '../type'; -import type { BaseItem, EndBehavior } from './base-item'; +import type { BaseItem } from './base-item'; /** * 音频元素 @@ -11,10 +11,9 @@ export interface AudioItem extends BaseItem { */ type: ItemType.audio, /** - * 音频元素渲染信息 + * 音频元素基础属性 */ content: AudioComponentData, - endBehavior: EndBehavior, } export interface AudioContentOptions { @@ -40,11 +39,11 @@ export interface AudioContentOptions { } /** - * 图层组件属性 + * 音频组件属性 */ export interface AudioComponentData extends ComponentData { /** - * 视频元素基础属性 + * 音频元素基础属性 */ options: AudioContentOptions, } diff --git a/src/item/video-component.ts b/src/item/video-component.ts index 9c303e1..830d271 100644 --- a/src/item/video-component.ts +++ b/src/item/video-component.ts @@ -12,7 +12,7 @@ export interface VideoItem extends BaseItem { */ type: ItemType.video, /** - * 图层元素渲染信息 + * 视频元素渲染信息 */ content: VideoComponentData, endBehavior: EndBehavior, @@ -46,7 +46,7 @@ export interface VideoContentOptions { } /** - * 图层组件属性 + * 视频组件属性 */ export interface VideoComponentData extends ComponentData { /**