App.vue
@@ -1,7 +1,8 @@ <script> import { showModal, showToast, showInfo, showError } from "@/js/Page.js" const rfidModule = uni.requireNativePlugin('RFIDModule'); var main; @@ -70,7 +71,7 @@ rfidModule.initModule((res) => { console.log("rfid initModule", res) if (res.code < 0) { showToast(res.msg); showInfo(res.msg); } }) @@ -133,7 +134,7 @@ console.log("startScan", ret) let text = "" if (ret.code < 0) { showToast(ret.msg); showInfo(ret.msg); } else { const data = ret.data || [] if (Array.isArray(data)) {