MemberGroupSelect-0f4c57bf.js 1.1 KB

1
  1. import{d as b,b as f,r as v,B as V,o as l,l as r,w as y,c as w,k as h,a as o,F as G,y as g,D as k,G as x,_ as M,__tla as S}from"./index-af173888.js";import{g as D,__tla as U}from"./index-811fbb31.js";let m,z=Promise.all([(()=>{try{return S}catch{}})(),(()=>{try{return U}catch{}})()]).then(async()=>{m=M(b({name:"MemberGroupSelect",__name:"MemberGroupSelect",props:{modelValue:{type:Number,default:void 0}},emits:["update:modelValue"],setup(n,{emit:d}){const p=n,_=d,a=f({get:()=>p.modelValue,set(s){_("update:modelValue",s)}}),t=v([]);return V(()=>{(async()=>t.value=await D())()}),(s,u)=>{const c=k,i=x;return l(),r(i,{modelValue:o(a),"onUpdate:modelValue":u[0]||(u[0]=e=>g(a)?a.value=e:null),placeholder:"\u8BF7\u9009\u62E9\u7528\u6237\u5206\u7EC4",clearable:"",class:"!w-240px"},{default:y(()=>[(l(!0),w(G,null,h(o(t),e=>(l(),r(c,{key:e.id,label:e.name,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])}}}),[["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/views/member/group/components/MemberGroupSelect.vue"]])});export{z as __tla,m as default};