Explorar el Código

2024年2月26日09:44:52

yxb
wq hace 1 año
padre
commit
dc9f250fa2
Se han modificado 1 ficheros con 5 adiciones y 5 borrados
  1. 5
    5
      static/nfc/NFCManagerTool.js

+ 5
- 5
static/nfc/NFCManagerTool.js Ver fichero

@@ -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) {

Cargando…
Cancelar
Guardar