import{a as m,H as R,d as Y,b as u,o as B,k as D,e as t,w as e,E as l,K as H,G as N}from"./ant-design-vue-710243d9.js";import{d as V,m as g}from"./index-2a45336b.js";import"./lodash-es-7cb071db.js";import"./tinymce-3184e0f1.js";import"./echarts-ca5d9323.js";import"./cropper-47c8e461.js";import"./qrcode-bec2257a.js";import"./jschardet-bd496279.js";const z=Object.assign({name:"otherMultiTab"},{__name:"index",setup(j){const i=V(),{reload:p,close:f,closeOther:v,setTitle:d}=g(),r=m(""),s=m("自定义名称");R(()=>{r.value=Y().format("YYYY-MM-DD HH:mm:ss")});function h(){i.push({name:"home"})}function C(){p()}function k(){f()}function b(){v()}function T(){d(s.value)}function x(){var c;d((c=i.currentRoute.value.meta)==null?void 0:c.title)}return(c,_)=>{const a=u("a-button"),n=u("a-space"),o=u("a-card"),M=u("a-input");return B(),D("div",null,[t(o,{title:"打开"},{default:e(()=>[t(n,null,{default:e(()=>[t(a,{onClick:h},{default:e(()=>[l("打开欢迎页")]),_:1})]),_:1})]),_:1}),t(o,{class:"mt-8-2",title:"刷新"},{default:e(()=>[t(n,null,{default:e(()=>[t(a,{onClick:C},{default:e(()=>[l("刷新当前")]),_:1}),H("span",null,N(r.value),1)]),_:1})]),_:1}),t(o,{class:"mt-8-2",title:"关闭"},{default:e(()=>[t(n,null,{default:e(()=>[t(a,{onClick:k},{default:e(()=>[l("关闭当前")]),_:1}),t(a,{onClick:b},{default:e(()=>[l("关闭其他")]),_:1})]),_:1})]),_:1}),t(o,{class:"mt-8-2",title:"设置"},{default:e(()=>[t(n,null,{default:e(()=>[t(M,{value:s.value,"onUpdate:value":_[0]||(_[0]=O=>s.value=O)},null,8,["value"]),t(a,{onClick:T},{default:e(()=>[l("设置标题")]),_:1}),t(a,{onClick:x},{default:e(()=>[l("还原")]),_:1})]),_:1})]),_:1})])}}});export{z as default};
