This commit is contained in:
gaoshuaixing
2021-10-12 11:56:04 +08:00
parent c4e6297027
commit c51051655c

View File

@@ -180,8 +180,6 @@ exports.removeViewContent = function () {
* 电源监控
*/
exports.initPowerMonitor = function (event, channel, arg) {
console.log('[electron] [ipc] [example] [initPowerMonitor] 结果:', arg);
powerMonitor.on('on-ac', (e) => {
let data = {
type: 'on-ac',