import{_ as t,i as s,h as n,r as a,o as e,b as o,g as i,a as r,w as l,t as c,p as u,f as p}from"./index-ea5b20ee.js";const d={data:()=>({currentStatus:"无"}),mounted(){this.init()},methods:{init(){s.removeAllListeners(n.initPowerMonitor),s.on(n.initPowerMonitor,((t,s)=>{"[object Object]"==Object.prototype.toString.call(s)&&(this.currentStatus=s.msg,this.$message.info(s.msg))})),s.send(n.initPowerMonitor,"")}}},b=t=>(u("data-v-564cbe99"),t=t(),p(),t),m={id:"app-base-powermonitor"},f=b((()=>i("div",{class:"one-block-1"},[i("span",null," 1. 监控电源状态 ")],-1))),v={class:"one-block-2"},g=b((()=>i("p",null,"* 拔掉电源，使用电池供电",-1))),h=b((()=>i("p",null,"* 接入电源",-1))),w=b((()=>i("p",null,"* 锁屏",-1))),j=b((()=>i("p",null,"* 解锁",-1)));const S=t(d,[["render",function(t,s,n,u,p,d){const b=a("a-space");return e(),o("div",m,[f,i("div",v,[r(b,null,{default:l((()=>[i("p",null,"* 当前状态："+c(p.currentStatus),1)])),_:1}),g,h,w,j])])}],["__scopeId","data-v-564cbe99"]]);export{S as default};
