Bläddra i källkod

2024年2月26日09:44:52

yxb
wq 1 år sedan
förälder
incheckning
dc9f250fa2
1 ändrade filer med 5 tillägg och 5 borttagningar
  1. 5
    5
      static/nfc/NFCManagerTool.js

+ 5
- 5
static/nfc/NFCManagerTool.js Visa fil

@@ -234,12 +234,12 @@ export function removeObj() {


function initNfcAdapter(callBack) {
// #ifdef MP-ALIPAY
// // #ifdef MP-ALIPAY
nfcAdapter = my.getNFCAdapter() //获取NFC适配器实例
// #endif
// #ifdef MP-WEIXIN
nfcAdapter = wx.getNFCAdapter() //获取NFC适配器实例
// #endif
// // #endif
// // #ifdef MP-WEIXIN
// nfcAdapter = wx.getNFCAdapter() //获取NFC适配器实例
// // #endif

console.log("获取NFC适配器实例:", nfcAdapter);
if (nfcAdapter != null) {

Laddar…
Avbryt
Spara