index.4447337b.js 2.2 KB

12
  1. import{_ as D}from"./index.6136fcdd.js";import{_ as B}from"./plugin-vue_export-helper.648bd12b.js";/* empty css */import{f as C,u as I,k as f,r as S,l as L,m as p,n as w,o,c as s,b as t,w as e,p as u,I as b,F as i,q as k,s as x,e as r,t as F,M as V,S as N,v as q,a as R,d as y}from"./index.7f381578.js";const K={class:"nav"},P=r("\u57FA\u7840\u529F\u80FD"),T=r("\u66F4\u591A\u529F\u80FD"),j=C({setup(A){const _=I(),d=f([{name:"\u5FEB\u901F\u6307\u4EE4",path:"/webtools/other"},{name:"\u5E38\u7528\u7269\u54C1",path:"/webtools/commuse"},{name:"\u7269\u54C1",path:"/webtools/thing"},{name:"\u5723\u9057\u7269",path:"/webtools/holyrelic"},{name:"\u602A\u7269\u751F\u6210",path:"/webtools/monster"},{name:"\u6B66\u5668",path:"/webtools/weapon"},{name:"\u89D2\u8272\u5C5E\u6027",path:"/webtools/role"},{name:"\u573A\u666F",path:"/webtools/scene"},{name:"\u5267\u60C5",path:"/webtools/quest"}]),c=f([{name:"\u4F20\u9001\u7BA1\u7406",path:"/webtools/LocationManager"},{name:"\u5728\u7EBF\u73A9\u5BB6",path:"/webtools/personnel"},{name:"\u624B\u52A8\u8FDE\u63A5",path:"/webtools/login"}]);function m(n){p.push({path:n})}const l=S([""]);return L(()=>{l.value=[p.currentRoute.value.fullPath]}),w(()=>_.isLogin,()=>{_.isLogin},{immediate:!0}),w(()=>p.currentRoute.value.path,(n,g)=>{l.value=[n]},{immediate:!0}),(n,g)=>{const h=V,v=N,$=q;return o(),s("div",K,[t($,{showCollapseButton:"","default-open-keys":["0","1"],"selected-keys":l.value},{default:e(()=>[t(v,{key:"0"},{icon:e(()=>[t(u(b))]),title:e(()=>[P]),default:e(()=>[(o(!0),s(i,null,k(u(d),(a,E)=>(o(),x(h,{key:a.path,onClick:M=>m(a.path)},{default:e(()=>[r(F(a.name),1)]),_:2},1032,["onClick"]))),128))]),_:1}),t(v,{key:"1"},{icon:e(()=>[t(u(b))]),title:e(()=>[T]),default:e(()=>[(o(!0),s(i,null,k(u(c),(a,E)=>(o(),x(h,{key:a.path,onClick:M=>m(a.path)},{default:e(()=>[r(F(a.name),1)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["selected-keys"])])}}});var z=B(j,[["__scopeId","data-v-1d5f5987"]]);const G={class:"cont"},H={class:"selectcom"},J=C({setup(A){return(_,d)=>{const c=R("router-view");return o(),s(i,null,[t(D),y("div",G,[t(z),y("div",H,[t(c)])])],64)}}});var X=B(J,[["__scopeId","data-v-badb6054"]]);export{X as default};