MemberGroupSelect-d5191c55.js 1.1 KB

1
  1. import{d as v,Y as b,r as f,q as V,o as l,x as r,w as y,c as w,v as x,a as o,F as h,l as g,A as G,B as M,_ as S,__tla as k}from"./index-8dc1e40a.js";import{g as U,__tla as q}from"./index-b8fab188.js";let m,z=Promise.all([(()=>{try{return k}catch{}})(),(()=>{try{return q}catch{}})()]).then(async()=>{m=S(v({name:"MemberGroupSelect",__name:"MemberGroupSelect",props:{modelValue:{type:Number,default:void 0}},emits:["update:modelValue"],setup(n,{emit:d}){const p=n,_=d,a=b({get:()=>p.modelValue,set(s){_("update:modelValue",s)}}),t=f([]);return V(()=>{(async()=>t.value=await U())()}),(s,u)=>{const c=G,i=M;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(h,null,x(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};