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();
},