Skip to content

Commit

Permalink
Revert "fix: 🐛 下载嗅探到的最后一个文件"
Browse files Browse the repository at this point in the history
This reverts commit da97921.
  • Loading branch information
caorushizi committed Jun 8, 2024
1 parent 0a4c477 commit 1fd4cca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/main/src/services/WebviewService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion packages/renderer/src/nodes/SourceExtract/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ const SourceExtract: React.FC<SourceExtractProps> = ({ page = false }) => {
image: string
) => {
// FIXME: 选择
setCurrentDownloadForm(data[data.length - 1]);
setCurrentDownloadForm(data[0]);

setPlaceHolder(image);
setModalShow(true);
Expand Down

0 comments on commit 1fd4cca

Please sign in to comment.