You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
1007 B
1 lines
1007 B
import{S as f,aa as c,H as p}from"./Ca9y1zsW.js";const y="$s";function e(...t){const r=typeof t[t.length-1]=="string"?t.pop():void 0;typeof t[0]!="string"&&t.unshift(r);const[s,n]=t;if(!s||typeof s!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+s);if(n!==void 0&&typeof n!="function")throw new Error("[nuxt] [useState] init must be a function: "+n);const u=y+s,i=f(),a=c(i.payload.state,u);if(a.value===void 0&&n){const o=n();if(p(o))return i.payload.state[u]=o,o;a.value=o}return a}const d=()=>e("website",()=>({})),l=()=>e("config",()=>({})),S=()=>e("menu",()=>[]),b=()=>e("subMenu",()=>[]),h=()=>e("form",()=>({})),x=()=>e("affixTop",()=>!1),g=()=>e("useSysDomain",()=>""),w=()=>e("token",()=>""),k=()=>e("user",()=>({userId:0,avatar:"",phone:"",balance:0,nickname:"",gradeId:0,gradeName:"",certification:!1,tenantId:0,tenantName:""})),v=()=>e("company",()=>({})),I=()=>e("showLogin",()=>!1);export{g as a,l as b,d as c,h as d,k as e,I as f,v as g,S as h,x as i,b as j,w as u};
|