1 |
- import{d as i,aP as _,ac as u,Y as y,r as f,q as h,o as g,x as V,a as l,l as w,_ as x,__tla as b}from"./index-327f993b.js";import{E as v,__tla as P}from"./el-tree-select-ece8cdbe.js";import{h as I,d as k}from"./tree-0af4953a.js";import{g as C,__tla as S}from"./category-60bbc2d0.js";let d,z=Promise.all([(()=>{try{return b}catch{}})(),(()=>{try{return P}catch{}})(),(()=>{try{return S}catch{}})()]).then(async()=>{d=x(i({name:"ProductCategorySelect",__name:"ProductCategorySelect",props:{modelValue:_([Number,Array]),multiple:u.bool.def(!1),parentId:u.number.def(void 0)},emits:["update:modelValue"],setup(e,{emit:m}){const o=e,t=y({get:()=>o.modelValue,set:a=>{n("update:modelValue",a)}}),n=m,r=f([]);return h(async()=>{const a=await C({parentId:o.parentId});r.value=I(a,"id","parentId")}),(a,s)=>{const c=v;return g(),V(c,{modelValue:l(t),"onUpdate:modelValue":s[0]||(s[0]=p=>w(t)?t.value=p:null),data:l(r),props:l(k),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:/zhongxing/mall-newfeifan-zx-admin/src/views/mall/product/category/components/ProductCategorySelect.vue"]])});export{z as __tla,d as default};
|