From 7703b4f1270e281c58450438dfe7d9beb3b7fb8d Mon Sep 17 00:00:00 2001 From: lanyi Date: Mon, 4 Jan 2021 07:44:07 +0100 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=8F=8C=E9=87=8D=E7=BE=A4=E5=90=8D?= =?UTF-8?q?=E7=89=87=E7=9A=84=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.ts b/index.ts index f4d2cb2..0968c54 100644 --- a/index.ts +++ b/index.ts @@ -184,8 +184,9 @@ async function app() { if (processed[1]?.type !== 'Plain') { processed.splice(1, 0, { type: 'Plain', text: '' }) } - const firstPlain = processed[1] as Plain + const firstPlain = { ...processed[1] } as Plain firstPlain.text = `【${authorName}】` + firstPlain.text + processed[1] = firstPlain } try {