diff --git a/packages/main/src/services/WebviewService.ts b/packages/main/src/services/WebviewService.ts index 01957d2f..231568b3 100644 --- a/packages/main/src/services/WebviewService.ts +++ b/packages/main/src/services/WebviewService.ts @@ -36,7 +36,7 @@ export default class WebviewService { @inject(TYPES.VideoRepository) private readonly videoRepository: VideoRepository, @inject(TYPES.SniffingHelper) - private readonly sniffingHelper: SniffingHelper + private readonly sniffingHelper: SniffingHelper, ) { // 初始化 blocker this.initBlocker(); diff --git a/packages/renderer/src/nodes/SourceExtract/index.tsx b/packages/renderer/src/nodes/SourceExtract/index.tsx index eacd5d43..22d14ee3 100644 --- a/packages/renderer/src/nodes/SourceExtract/index.tsx +++ b/packages/renderer/src/nodes/SourceExtract/index.tsx @@ -244,7 +244,7 @@ const SourceExtract: React.FC = ({ page = false }) => { image: string ) => { // FIXME: 选择 - setCurrentDownloadForm(data[data.length - 1]); + setCurrentDownloadForm(data[0]); setPlaceHolder(image); setModalShow(true);