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