From b1955b17943556b3f980a138d150eb59de047042 Mon Sep 17 00:00:00 2001 From: caorushizi <84996057@qq.com> Date: Sun, 23 Jun 2024 00:12:06 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20=20=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E8=A7=86=E9=A2=91=E5=90=8D=E7=A7=B0=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/plugin/src/components/FloatButton.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugin/src/components/FloatButton.ts b/packages/plugin/src/components/FloatButton.ts index 965f3d1b..133e67ee 100644 --- a/packages/plugin/src/components/FloatButton.ts +++ b/packages/plugin/src/components/FloatButton.ts @@ -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) => {