import{g as r}from"./index-f6f689f9-1782572373740v=1.0.0.js";import{r as n,m as l}from"./vendor-866bb149-1782572373740v=1.0.0.js";const m=(i,o=!0)=>{const t=n([]),a=async c=>{const e=await r({page:1,pageSize:1e3,dictTypeSign:i,name:c,isEnable:1});e.code===0&&(t.value=e.data.listData.map(s=>({label:s.name,value:s.dictId})))};return l(()=>{o&&a("")}),{getDict:a,dictlist:t}};export{m as u};
