From 3ba6584b1e3c1616dc486dc02c1c5ed0e37c58b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9B=AE=E6=A3=83?= Date: Wed, 15 May 2024 01:26:55 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=E5=90=8D?= =?UTF-8?q?=E7=89=87=E8=A7=A3=E6=9E=90=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit close #110 --- src/components/overlay/to-namecard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/overlay/to-namecard.vue b/src/components/overlay/to-namecard.vue index c1c09854..e754644a 100644 --- a/src/components/overlay/to-namecard.vue +++ b/src/components/overlay/to-namecard.vue @@ -95,7 +95,7 @@ function onCancel() { function parseNamecard(desc: string): string { let array = []; - if (desc.startsWith("名片纹饰。「")) { + if (desc.startsWith("名片纹饰。「") && desc.endsWith("」")) { array.push("名片纹饰。"); const reg = /「.+?」/g; const match = desc.match(reg);