Skip to content

Commit

Permalink
Merge pull request #195 from caorushizi/fix-videoname
Browse files Browse the repository at this point in the history
fix: 🐛  修复获取视频名称的问题
  • Loading branch information
caorushizi authored Jun 22, 2024
2 parents f0641ee + b1955b1 commit 8926b55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/plugin/src/components/FloatButton.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export class FloatButton extends LitElement {
};

receiveMessage = (_: unknown, data: SourceData) => {
this.data = [...this.data, data];
this.data = [...this.data, { ...data, name: document.title }];
};

handleMouseStart = (event: MouseEvent) => {
Expand Down

0 comments on commit 8926b55

Please sign in to comment.