import{_,d as f,bx as v,b3 as b,z as y,bS as V,r as s,o as a,G as r,C as g,c as k,F as x,D as C,u as l,aq as w}from"./index.1d1a5ecb.js";const B=f({__name:"platform",props:{modelValue:{type:String,required:!0},visible:{type:Boolean,required:!0}},setup(u){const o=u,t=v(o,"modelValue"),{data:i,run:c,loading:d}=b({initalData:[]});return y(()=>o.visible,()=>{c(V({}))},{immediate:!0}),(h,n)=>{const m=s("el-option"),p=s("el-select");return a(),r(p,{filterable:"",modelValue:l(t),"onUpdate:modelValue":n[0]||(n[0]=e=>w(t)?t.value=e:null),loading:l(d),style:{width:"100%"}},{default:g(()=>[(a(!0),k(x,null,C(l(i),e=>(a(),r(m,{label:e.platform_name,key:e.id,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue","loading"])}}});var D=_(B,[["__file","C:/Users/63107/Desktop/projects/accout-vue3-ui/src/views/netOrderEnter/netOrderEntry/components/platform.vue"]]);export{D as default};
