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