MemberLevelSelect-71b0565e.js 1.3 KB

1
  1. import{d as V,e as x,r as y,b as h,o as l,C as u,A as n,c as w,F as S,R as z,a as o,B as L,f as M,D as g,E as j,a2 as D,S as E,U,_ as k,__tla as A}from"./index-0b2503c4.js";import{E as B,__tla as C}from"./el-avatar-56eaab36.js";import{a as F,__tla as N}from"./index-f84dc823.js";let c,P=Promise.all([(()=>{try{return A}catch{}})(),(()=>{try{return C}catch{}})(),(()=>{try{return N}catch{}})()]).then(async()=>{let s;s={class:"flex items-center gap-x-8px"},c=k(V({name:"MemberLevelSelect",__name:"MemberLevelSelect",props:{modelValue:{type:Number,default:void 0}},emits:["update:modelValue"],setup(_,{emit:d}){const i=_,p=d,a=x({get:()=>i.modelValue,set(r){p("update:modelValue",r)}}),t=y([]);return h(()=>{(async()=>t.value=await F())()}),(r,m)=>{const f=B,v=E,b=U;return l(),u(b,{modelValue:o(a),"onUpdate:modelValue":m[0]||(m[0]=e=>D(a)?a.value=e:null),placeholder:"\u8BF7\u9009\u62E9\u7528\u6237\u7B49\u7EA7",clearable:"",class:"!w-240px"},{default:n(()=>[(l(!0),w(S,null,z(o(t),e=>(l(),u(v,{key:e.id,label:e.name,value:e.id},{default:n(()=>[L("span",s,[M(f,{src:e.icon,size:"small"},null,8,["src"]),g(" "+j(e.name),1)])]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue"])}}}),[["__file","D:/zx/mall-newfeifan-zx-admin/src/views/member/level/components/MemberLevelSelect.vue"]])});export{P as __tla,c as default};