1 |
- import{d as i,dR as _,ag as d,K as y,r as f,l as g,o as h,v as V,a as l,O as v,_ as w,__tla as b}from"./index-bd9277a1.js";import{E as x,__tla as I}from"./el-tree-select-9425e295.js";import{h as P,d as k}from"./tree-0af4953a.js";import{g as C,__tla as S}from"./category-ca717d96.js";let u,z=Promise.all([(()=>{try{return b}catch{}})(),(()=>{try{return I}catch{}})(),(()=>{try{return S}catch{}})()]).then(async()=>{u=w(i({name:"ProductCategorySelect",__name:"ProductCategorySelect",props:{modelValue:_([Number,Array]),multiple:d.bool.def(!1),parentId:d.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 g(async()=>{const a=await C({parentId:o.parentId});r.value=P(a,"id","parentId")}),(a,s)=>{const p=x;return h(),V(p,{modelValue:l(t),"onUpdate:modelValue":s[0]||(s[0]=c=>v(t)?t.value=c: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,u as default};
|