2 lines
1.1 KiB
JavaScript
2 lines
1.1 KiB
JavaScript
import{g,y as h,W as T,j as v,k as w,m as x,n as e,p as r,l as n,t as o,E as s,F as p}from"./vendor/index.CRpmXtWV.js";import{c as b,d as k}from"../index.D-NvtsOM.js";const S=g({__name:"404",setup(L){const u=h(),_=b(),{t}=k();function i(){let a=u.meta.title;a.indexOf("router.")!==-1&&(a=t(a)),_.setTitle(a)}return T(()=>{i()}),(a,R)=>{const c=n.Button,m=v("RouterLink"),f=n.TypographyTitle,l=n.TypographyParagraph,y=n.Typography,d=n.Result;return w(),x(d,{status:"404",title:r(t)("views.error.err404.ttile"),"sub-title":r(t)("views.error.err404.subTitle")},{extra:e(()=>[o(m,{to:{name:"Index"},replace:!0},{default:e(()=>[o(c,{type:"primary"},{default:e(()=>[s(p(r(t)("views.error.err404.backHome")),1)]),_:1})]),_:1})]),default:e(()=>[o(y,null,{default:e(()=>[o(f,null,{default:e(()=>[s(p(r(t)("views.error.err404.tipTitle")),1)]),_:1}),o(l,null,{default:e(()=>[s(" 1. "+p(r(t)("views.error.err404.paragraph")),1)]),_:1}),o(l,null,{default:e(()=>[s(" 2. "+p(r(t)("views.error.err404.paragraph1")),1)]),_:1})]),_:1})]),_:1},8,["title","sub-title"])}}});export{S as default};
|