import{e as s,r as a,f as l,a2 as e,a as n,b as t,t as i,m as c,aq as v,o,_ as u}from"./index-D8tPjwDN.js";import{e as d}from"./index-DGBKTRr-.js";const p={class:"version-setting"},r={class:"setting-item"},m={class:"value"},b={class:"setting-item"},g={class:"value"},f={class:"setting-item"},_={class:"value"},I={class:"setting-item"},x={class:"value"},V={class:"setting-item"},j={class:"value"},y={class:"setting-item"},q={class:"value"},w=u(s({__name:"Version",setup(s){const u=a(),w=async()=>{const s=await v();s&&s.success?u.value=s.data:s&&s.data&&s.data.info&&d.error(s.data.info)};return l((()=>{w()})),e((()=>{w()})),(s,a)=>{var l,e,v,d,w;return o(),n("div",p,[t("div",r,[a[0]||(a[0]=t("span",{class:"label"},"SN",-1)),t("span",m,i(null==(l=u.value)?void 0:l.sn),1)]),t("div",b,[a[1]||(a[1]=t("span",{class:"label"},"资产ID",-1)),t("span",g,i(null==(e=u.value)?void 0:e.assetId),1)]),t("div",f,[a[2]||(a[2]=t("span",{class:"label"},"App",-1)),t("span",_,i(null==(v=u.value)?void 0:v.appVersion),1)]),t("div",I,[a[3]||(a[3]=t("span",{class:"label"},"MCU",-1)),t("span",x,i(null==(d=u.value)?void 0:d.mcuVersion),1)]),t("div",V,[a[4]||(a[4]=t("span",{class:"label"},"Local IP",-1)),t("span",j,i(null==(w=u.value)?void 0:w.ip),1)]),t("div",y,[a[5]||(a[5]=t("span",{class:"label"},"系统版本号",-1)),t("span",q,"v"+i(c("0.0.24")),1)])])}}}),[["__scopeId","data-v-aac42b0a"]]);export{w as default};
