import{g as r}from"./index-b309bf9f-1782729249161v=1.0.0.js";import{r as n,m as l}from"./vendor-1e24e3ad-1782729249161v=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};
