MerchantIndex-71c6a4c2.js 1.3 KB

1
  1. import{_ as b,r as i,ar as V,aT as x,aS as y,o as t,x as r,w as c,f as g,a as u,n as h,c as I,F as T,v as w,m as C,g as S,aV as k,bq as z,__tla as A}from"./index-893d5d13.js";let p,D=Promise.all([(()=>{try{return A}catch{}})()]).then(async()=>{let d;d={class:"dialog-content"},p=b({__name:"MerchantIndex",props:{tabs:Array,initialComponent:String,parentId:String},setup(s,{expose:v}){const m=s;console.log(m);const o=i(!1),n=i(m.initialComponent),_=i(null);function f(l){n.value=l.name}return V(n,l=>{l&&(_.value=x(()=>y(()=>import(`./${l}.vue`).then(async a=>(await a.__tla,a)),[])))},{immediate:!0}),v({dialogVisible:o}),(l,a)=>(t(),r(u(z),{modelValue:o.value,"onUpdate:modelValue":a[1]||(a[1]=e=>o.value=e),title:"\u52A8\u6001 Tabs \u5BF9\u8BDD\u6846","destroy-on-close":""},{default:c(()=>[g(u(h),{modelValue:n.value,"onUpdate:modelValue":a[0]||(a[0]=e=>n.value=e),onTabClick:f},{default:c(()=>[(t(!0),I(T,null,w(s.tabs,e=>(t(),r(u(C),{key:e.name,label:e.label,name:e.component},null,8,["label","name"]))),128))]),_:1},8,["modelValue"]),S("div",d,[(t(),r(k(_.value),{"parent-id":s.parentId},null,8,["parent-id"]))])]),_:1},8,["modelValue"]))}},[["__scopeId","data-v-f055dc1c"],["__file","D:/zx/mall-newfeifan-zx-admin/src/views/system/sale/merchant/components/MerchantIndex.vue"]])});export{D as __tla,p as default};