1 |
- import{_,d as f,aV as v,bc as V,A as b,dq as y,r as n,o as l,G as r,D as g,c as k,F as w,E as x,m as a,ar as B}from"./index.js";const C=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}=V({initalData:[]});return b(()=>o.visible,()=>{d(y({}))},{immediate:!0}),(E,s)=>{const p=n("el-option"),c=n("el-select");return l(),r(c,{filterable:"",modelValue:a(t),"onUpdate:modelValue":s[0]||(s[0]=e=>B(t)?t.value=e:null),loading:a(m),style:{width:"100%"}},{default:g(()=>[(l(!0),k(w,null,x(a(u),e=>(l(),r(p,{label:e.platform_name,key:e.id,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue","loading"])}}});var q=_(C,[["__file","C:/Users/89793/Desktop/projects/settle-vue3/src/views/netOrderEnter/netOrderEntry/components/platform.vue"]]);export{q as default};
|