import{r as t,p as e,o,e as n,w as a,m as r,k as s,aN as i,bh as c,b as p,d as l}from"./index-520dfaee.js";import{_ as u}from"./s-empty.b6c95127.js";import{_}from"./_plugin-vue_export-helper.1b428a4d.js";/* empty css                                                                */const m=_({__name:"error",setup(_){const m=t(""),x=t("");async function d(){i({url:"/pages/index/index"}),c()}return e((t=>{m.value=t.errCode,x.value=t.errMsg})),(t,e)=>{const i=p(l("s-empty"),u),c=r;return o(),n(c,{class:"error-page"},{default:a((()=>["NetworkError"===m.value?(o(),n(i,{key:0,icon:"/static/internet-empty.png",text:"网络连接失败",showAction:"",actionText:"重新连接",onClickAction:d,buttonColor:"#ff3000"})):"TemplateError"===m.value?(o(),n(i,{key:1,icon:"/static/internet-empty.png",text:"未找到模板",showAction:"",actionText:"重新加载",onClickAction:d,buttonColor:"#ff3000"})):""!==m.value?(o(),n(i,{key:2,icon:"/static/internet-empty.png",text:x.value,showAction:"",actionText:"重新加载",onClickAction:d,buttonColor:"#ff3000"},null,8,["text"])):s("",!0)])),_:1})}}},[["__scopeId","data-v-b1842a3e"]]);export{m as default};
