import{d as u,b as n,w as c,e as b,M as d,u as p,f as i}from"./index.1173b4aa.js";import{T as _}from"./index.8886c9a8.js";import"./el-button.39e10deb.js";import"./DataItem.vue_vue_type_script_setup_true_lang.c8153fed.js";const f={style:{height:"600px"}},v=u({__name:"tabs",setup(M){const t=n(null);console.log(t);const l=[{name:"tab1",label:"Tab 1"},{name:"tab2",label:"Tab 2",closable:!0}],s=[{name:"menu1",label:"Menu 1"},{name:"menu2",label:"Menu 2"}],o=n("tab2");c(o,e=>{console.log("currentTab",e)});const r=e=>{console.log("handleMore",e)};return(e,a)=>(i(),b("div",f,[d(p(_),{more:s,items:l,modelValue:o.value,"onUpdate:modelValue":a[0]||(a[0]=m=>o.value=m),onMore:r},null,8,["modelValue"])]))}});export{v as default};
