import{a as r}from"./_js-fast-way-CuOg3tnC.js";import{c as s,d as l}from"../js2/index-B-Xsrt5S.js";const d=()=>{setTimeout(()=>{window.location.reload()},1500)},g=async(e,i=!1)=>{let t=[];if(i){const{data:a}=await s({code:e});t=r(a)}else{const{data:a}=await l({code:e});t=r(a)}let o=[];for(let a=0;a<t.length;a++)o.push({label:t[a].dictValue,value:Number(t[a].dictKey)});return o};export{g,d as r};
