index.B4XuGczI.js 1.3 KB

1234
  1. /*!
  2. Build based on gin-vue-admin
  3. Time : 1757946830000 */
  4. import{l as e,c as s,o as t,b as a,f as l,h as r,w as n,g as u,u as c,D as i}from"./index.DlqNVRUO.js";const o={class:"w-full h-screen bg-gray-50 flex items-center justify-center"},g={class:"flex flex-col items-center text-2xl gap-4"},p=Object.assign({name:"Error"},{__name:"index",setup(p){const f=e(),m=c(),d=()=>{try{m.push({name:f.userInfo.authority.defaultRouter})}catch(e){i.emit("show-error",{code:"401",message:"检测到其他用户修改了路由权限,请重新登录",fn:()=>{f.ClearStorage(),m.push({name:"Login",replace:!0})}})}};return(e,c)=>{const i=u("el-button");return t(),s("div",null,[a("div",o,[a("div",g,[c[1]||(c[1]=a("img",{class:"w-1/3",src:"/assets/404.Bk63Q-R4.png"},null,-1)),c[2]||(c[2]=a("p",{class:"text-lg"},"页面被神秘力量吸走了",-1)),c[3]||(c[3]=a("p",{class:"text-lg"}," 常见问题为当前此角色无当前路由,如果确定要使用本路由,请到角色管理进行分配 ",-1)),c[4]||(c[4]=a("p",null,[r(" 项目地址:"),a("a",{href:"https://github.com/flipped-aurora/gin-vue-admin",target:"_blank",class:"text-blue-600"},"https://github.com/flipped-aurora/gin-vue-admin")],-1)),l(i,{onClick:d},{default:n(()=>[...c[0]||(c[0]=[r("返回首页",-1)])]),_:1})])])])}}});export{p as default};