| 12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b8ab1f0c"],{3464: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("d3b7"),o("a358")),a={data:function(){return{currentStatus:"无"}},mounted:function(){this.init()},methods:{init:function(){var e=this;this.$ipc.removeAllListeners(l["a"].initPowerMonitor),e.$ipc.on(l["a"].initPowerMonitor,(function(t,o){"[object Object]"==Object.prototype.toString.call(o)&&(e.currentStatus=o.msg,e.$message.info(o.msg))})),this.$ipc.send(l["a"].initPowerMonitor,"")}}},c=a,i=(o("dff4"),o("2877")),s=Object(i["a"])(c,r,n,!1,null,"7dfd9413",null);t["default"]=s.exports},a358:function(e,t,o){"use strict";o.d(t,"a",(function(){return r})),o.d(t,"b",(function(){return n}));o("b775");var r={test:"controller.example.test",messageShow:"controller.example.messageShow",messageShowConfirm:"controller.example.messageShowConfirm",selectFolder:"controller.example.selectFolder",openDirectory:"controller.example.openDirectory",socketMessageStart:"controller.example.socketMessageStart",socketMessageStop:"controller.example.socketMessageStop",hello:"controller.example.hello",executeJS:"controller.example.executeJS",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"},n={appUpdater:"app.updater"}},dff4:function(e,t,o){"use strict";o("3464")}}]);
- //# sourceMappingURL=chunk-b8ab1f0c.d6394b50.js.map
|