This commit is contained in:
Iruka 2025-02-19 13:00:59 +08:00
parent 6ff81b5a45
commit f05056ef6e

11
App.vue
View File

@ -82,6 +82,15 @@
}) })
// #endif // #endif
}, },
async loadAndCallModule() {
try {
const requestPermissions = await import("@/utils/requestPermissions.js");
console.error("requestPermissions:", requestPermissions)
requestPermissions.sayHello();
} catch (error) {
console.error('Failed to load module:', error);
}
},
// //
on(type, key, callBack) { on(type, key, callBack) {
switch (type) { switch (type) {
@ -181,6 +190,8 @@
this.dc.dataObj[key] = res.data[key]; this.dc.dataObj[key] = res.data[key];
} }
} }
}).catch(() => {
this.dc.runningTimer = false;
}); });
break; break;
case dcEventType.send: // case dcEventType.send: //