import{ax as i}from"./vue.adf17aba.js";import{r as s}from"./index.ad3efb29.js";const d=i("Dictionary",{state:()=>({data:{}}),actions:{async getSystemDictionarys(){s({url:"/api/init/dictionary/?dictionary_key=all",method:"get"}).then(r=>{r.data.forEach(t=>{let e=t.children;e.forEach((a,c)=>{switch(a.type){case 1:a.value=Number(a.value);break;case 6:a.value=a.value==="true";break}}),this.data[t.value]=e})})}},persist:{enabled:!0}});export{d as D};
