mirror of https://github.com/EasyDarwin/EasyDarwin
2 lines
475 B
JavaScript
2 lines
475 B
JavaScript
import{d as t}from"./pinia-D6fI-ZdN.1737110241000.js";import"./request-ZxzhHWJh.1737110241000.js";import{b as a}from"./base-DpfWbqA7.1737110241000.js";import{r as n}from"./@vue-BfhzGpZF.1737110241000.js";const c=t("base",()=>{const e=n({});return{getServerInfo:async()=>{const o=s=>s[0].toUpperCase()+s.slice(1);if(e.value&&e.value.version)return;const r=await a.versionInfo();r.status==200&&(e.value=r.data,e.value.server=o(e.value.server))},serverInfo:e}});export{c as u};
|