(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-54700ae0"],{"1c5a":function(e,t,o){},"8a01":function(e,t,o){"use strict";o.r(t);var r=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{attrs:{id:"app-base-powermonitor"}},[e._m(0),o("div",{staticClass:"one-block-2"},[o("a-space",[o("p",[e._v("* 当前状态："+e._s(e.currentStatus))])]),o("p",[e._v("* 拔掉电源，使用电池供电")]),o("p",[e._v("* 接入电源")]),o("p",[e._v("* 锁屏")]),o("p",[e._v("* 解锁")])],1)])},n=[function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"one-block-1"},[o("span",[e._v(" 1. 监控电源状态 ")])])}],l=o("a358"),c={data(){return{currentStatus:"无"}},mounted(){this.init()},methods:{init(){const e=this;this.$ipc.removeAllListeners(l["a"].initPowerMonitor),e.$ipc.on(l["a"].initPowerMonitor,(t,o)=>{"[object Object]"==Object.prototype.toString.call(o)&&(e.currentStatus=o.msg,e.$message.info(o.msg))}),this.$ipc.send(l["a"].initPowerMonitor,"")}}},a=c,i=(o("9068"),o("2877")),p=Object(i["a"])(a,r,n,!1,null,"501ac189",null);t["default"]=p.exports},9068:function(e,t,o){"use strict";o("1c5a")},a358:function(e,t,o){"use strict";o.d(t,"a",(function(){return c})),o.d(t,"c",(function(){return a})),o.d(t,"b",(function(){return i}));var r=o("cff8"),n=o.n(r),l=o("b775");const c={test:"controller.example.test",messageShow:"controller.example.messageShow",messageShowConfirm:"controller.example.messageShowConfirm",selectFolder:"controller.example.selectFolder",openDirectory:"controller.example.openDirectory",loadViewContent:"controller.example.loadViewContent",removeViewContent:"controller.example.removeViewContent",createWindow:"controller.example.createWindow",sendNotification:"controller.example.sendNotification",initPowerMonitor:"controller.example.initPowerMonitor",getScreen:"controller.example.getScreen",openSoftware:"controller.example.openSoftware",autoLaunch:"controller.example.autoLaunch",setTheme:"controller.example.setTheme",getTheme:"controller.example.getTheme",checkForUpdater:"controller.example.checkForUpdater",downloadApp:"controller.example.downloadApp",dbOperation:"controller.example.dbOperation",uploadFile:"controller.example.uploadFile",checkHttpServer:"controller.example.checkHttpServer",doHttpRequest:"controller.example.doHttpRequest",doSocketRequest:"controller.example.doSocketRequest",ipcInvokeMsg:"controller.example.ipcInvokeMsg",ipcSendSyncMsg:"controller.example.ipcSendSyncMsg",ipcSendMsg:"controller.example.ipcSendMsg",hello:"controller.example.hello"},a={appUpdater:"app.updater"},i=(e,t)=>{const o=n.a.get("httpServiceConfig"),r=o.server||"http://127.0.0.1:7071";let c=e.split(".").join("/");return c=r+"/"+c,console.log("url:",c),Object(l["b"])({url:c,method:"post",data:t,params:{},timeout:6e4})}}}]);
//# sourceMappingURL=chunk-54700ae0.5684f83d.js.map