fix(lint): 移除 clipProperties.ts 中未使用的 ClipType import #936

Closed
xiaoxia wants to merge 3 commits from fix/frontend-lint-clip-type-import into develop
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ const TtsPanel: React.FC<TtsPanelProps> = ({ open, onClose, config, onChange })
className="tts-text-input"
placeholder="请输入需要合成的文本内容..."
value={config.text}
onChange={handleTextChange}
onChange={(e) => handleTextChange(e.target.value)}
maxLength={5000}
rows={5}
/>
+2 -2
View File
@@ -2,7 +2,7 @@
* 混剪单图层配置区
*/
import React from "react"
import type { PipLayer, PipAnimType, PipSlideDirection } from "@/pages/editing-planner/types"
import type { PipLayer, PipAnimType, PipSlideDirection, PipGridPosition } from "@/pages/editing-planner/types"
import {
GRID_POSITIONS,
ANIM_OPTIONS,
@@ -15,7 +15,7 @@ interface LayerConfigProps {
layers: PipLayer[]
totalDuration: number
onUpdate: (id: string, partial: Partial<PipLayer>) => void
onGridClick: (pos: any) => void
onGridClick: (pos: PipGridPosition) => void
onWidthChange: (val: number) => void
onHeightChange: (val: number) => void
}
+1 -1
View File
@@ -46,7 +46,7 @@ const TtsSlider: React.FC<TtsSliderProps> = ({
step={step}
value={value}
onChange={(v) => onChange(v as number)}
tooltip={tooltipFormatter ? { formatter: (v) => tooltipFormatter(v as number) } : false}
tooltip={tooltipFormatter ? { formatter: (v) => tooltipFormatter(v as number) } : undefined}
/>
{marks && (
<div className="tts-slider-marks">
+1 -1
View File
@@ -1,7 +1,7 @@
/**
* ClipPropertiesPanel 相关类型定义
*/
import type { ClipData, ClipType } from "@/pages/editing-planner/types"
import type { ClipData } from "@/pages/editing-planner/types"
import type { TemplateMode } from "@/api/editing-planner"
import type { AssetItem } from "@/api/assets"