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