1 |
- import{N as t,o as e,f as o,g as n,w as a,j as r,i as s,b6 as i,bR as c,m as p,n as l}from"./index-f4bb0849.js";import{_ as u}from"./s-empty.4c21b833.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"}),await 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:"#132b85"})):"TemplateError"===m.value?(o(),n(i,{key:1,icon:"/static/internet-empty.png",text:"未找到模板",showAction:"",actionText:"重新加载",onClickAction:d,buttonColor:"#132b85"})):""!==m.value?(o(),n(i,{key:2,icon:"/static/internet-empty.png",text:x.value,showAction:"",actionText:"重新加载",onClickAction:d,buttonColor:"#132b85"},null,8,["text"])):s("",!0)])),_:1})}}},[["__scopeId","data-v-189d7116"]]);export{m as default};
|