MemberGroupSelect-8f5bfc10.js 959 B

1
  1. import{d as b,e as V,r as y,b as f,o as l,C as r,A as v,c as h,F as x,Q as S,a as o,a1 as w,R as G,S as M,__tla as g}from"./index-92ee0c67.js";import{a as k,__tla as A}from"./index-469fd705.js";let m,C=Promise.all([(()=>{try{return g}catch{}})(),(()=>{try{return A}catch{}})()]).then(async()=>{m=b({name:"MemberGroupSelect",__name:"MemberGroupSelect",props:{modelValue:{type:Number,default:void 0}},emits:["update:modelValue"],setup(d,{emit:n}){const c=d,p=n,e=V({get:()=>c.modelValue,set(s){p("update:modelValue",s)}}),t=y([]);return f(()=>{(async()=>t.value=await k())()}),(s,u)=>{const _=G,i=M;return l(),r(i,{modelValue:o(e),"onUpdate:modelValue":u[0]||(u[0]=a=>w(e)?e.value=a:null),placeholder:"\u8BF7\u9009\u62E9\u7528\u6237\u5206\u7EC4",clearable:"",class:"!w-240px"},{default:v(()=>[(l(!0),h(x,null,S(o(t),a=>(l(),r(_,{key:a.id,label:a.name,value:a.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])}}})});export{C as __tla,m as default};