1 |
- import{d as _,dW as i,as as d,e as y,r as f,b as h,o as g,C as V,a as l,a2 as b,_ as w,__tla as v}from"./index-0b2503c4.js";import{E as x,__tla as C}from"./el-tree-select-c7d8cebf.js";import{h as I,d as P}from"./tree-0af4953a.js";import{g as k,__tla as S}from"./category-8910d9c1.js";let u,z=Promise.all([(()=>{try{return v}catch{}})(),(()=>{try{return C}catch{}})(),(()=>{try{return S}catch{}})()]).then(async()=>{u=w(_({name:"ProductCategorySelect",__name:"ProductCategorySelect",props:{modelValue:i([Number,Array]),multiple:d.bool.def(!1),parentId:d.number.def(void 0)},emits:["update:modelValue"],setup(e,{emit:m}){const r=e,t=y({get:()=>r.modelValue,set:a=>{p("update:modelValue",a)}}),p=m,o=f([]);return h(async()=>{const a=await k({parentId:r.parentId});o.value=I(a,"id","parentId")}),(a,s)=>{const c=x;return g(),V(c,{modelValue:l(t),"onUpdate:modelValue":s[0]||(s[0]=n=>b(t)?t.value=n:null),data:l(o),props:l(P),multiple:e.multiple,"show-checkbox":e.multiple,class:"w-1/1","node-key":"id",placeholder:"\u8BF7\u9009\u62E9\u5546\u54C1\u5206\u7C7B"},null,8,["modelValue","data","props","multiple","show-checkbox"])}}}),[["__file","D:/zx/mall-newfeifan-zx-admin/src/views/mall/product/category/components/ProductCategorySelect.vue"]])});export{z as __tla,u as default};
|