chunk-b8ab1f0c.0f41b54b.js 2.7 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b8ab1f0c"],{3464:function(e,t,o){},"8a01":function(e,t,o){"use strict";o.r(t);var n=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)])},r=[function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"one-block-1"},[o("span",[e._v(" 1. 监控电源状态 ")])])}],a=(o("d3b7"),o("a358")),l={data:function(){return{currentStatus:"无"}},mounted:function(){this.init()},methods:{init:function(){var e=this;this.$ipc.removeAllListeners(a["a"].initPowerMonitor),e.$ipc.on(a["a"].initPowerMonitor,(function(t,o){"[object Object]"==Object.prototype.toString.call(o)&&(e.currentStatus=o.msg,e.$message.info(o.msg))})),this.$ipc.send(a["a"].initPowerMonitor,"")}}},c=l,i=(o("dff4"),o("2877")),p=Object(i["a"])(c,n,r,!1,null,"7dfd9413",null);t["default"]=p.exports},a358:function(e,t,o){"use strict";o.d(t,"b",(function(){return c})),o.d(t,"a",(function(){return a})),o.d(t,"c",(function(){return l}));var n=o("b775"),r={uploadFile:"/api/example/uploadFile",openSoftware:"/api/example/openSoftware",messageShow:"/api/example/messageShow",messageShowConfirm:"/api/example/messageShowConfirm",dbOperation:"/api/example/dbOperation",test1:"/api/example/test1"},a={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"},l={appUpdater:"app.updater"},c=function(e,t){return Object(n["b"])({url:r[e],method:"post",data:t})}},dff4:function(e,t,o){"use strict";o("3464")}}]);
  2. //# sourceMappingURL=chunk-b8ab1f0c.0f41b54b.js.map