fix: 移除 Step3GeneratePreview 中未使用的解构变量,修复 ESLint 报错
- templateName/materialCount/videoRatio 在删除剪辑方案信息卡片后不再使用 - 使用别名 _templateName/_materialCount/_videoRatio 消除 no-unused-vars 错误
This commit is contained in:
@@ -27,9 +27,9 @@ interface Step3GeneratePreviewProps {
|
||||
}
|
||||
|
||||
const Step3GeneratePreview: React.FC<Step3GeneratePreviewProps> = ({
|
||||
templateName,
|
||||
materialCount,
|
||||
videoRatio,
|
||||
templateName: _templateName,
|
||||
materialCount: _materialCount,
|
||||
videoRatio: _videoRatio,
|
||||
previewStatus,
|
||||
previewResult,
|
||||
previewError,
|
||||
|
||||
Reference in New Issue
Block a user