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