From 04722a32b32cb02fe727dd2ab704bb8ad0e22ecd Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Tue, 25 Nov 2025 09:12:04 +0800 Subject: [PATCH] =?UTF-8?q?nfc=E6=8F=90=E7=A4=BA=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/memorial/nfcPairing.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pages/memorial/nfcPairing.vue b/pages/memorial/nfcPairing.vue index 3507c31..c6e1061 100644 --- a/pages/memorial/nfcPairing.vue +++ b/pages/memorial/nfcPairing.vue @@ -23,7 +23,8 @@ {{ nfcStatusText }} - {{ nfcError }} + + 请打开NFC @@ -136,7 +137,8 @@ export default { return "设备不支持 NFC"; } if (this.nfcError) { - return `NFC 错误: ${this.nfcError}`; + // return `NFC 错误: ${this.nfcError}`; + return ``; } return this.nfcEnabled ? "NFC 已开启,请将卡片贴近手机" : "NFC 未开启"; }, @@ -148,6 +150,9 @@ export default { if (options.mac) { this.deviceMac = options.mac; } + if (options.label) { + this.label = options.label; + } this.initSocket(); this.initNFC(); },