pages-public-error.8bbc153a.js 1.1 KB

1
  1. import{K as t,o as e,e as o,f as n,w as a,i as s,g as r,aU as i,bw as c,l,m as p}from"./index-6743ae62.js";import{_ as u}from"./s-empty.5a70e627.js";import{_}from"./_plugin-vue_export-helper.1b428a4d.js";/* empty css */const m=_({__name:"error",setup(_){const m=t(""),f=t("");async function x(){i({url:"/pages/index/index"}),await c()}return e((t=>{m.value=t.errCode,f.value=t.errMsg})),(t,e)=>{const i=l(p("s-empty"),u),c=s;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:x,buttonColor:"#ff3000"})):"TemplateError"===m.value?(o(),n(i,{key:1,icon:"/static/internet-empty.png",text:"未找到模板",showAction:"",actionText:"重新加载",onClickAction:x,buttonColor:"#ff3000"})):""!==m.value?(o(),n(i,{key:2,icon:"/static/internet-empty.png",text:f.value,showAction:"",actionText:"重新加载",onClickAction:x,buttonColor:"#ff3000"},null,8,["text"])):r("",!0)])),_:1})}}},[["__scopeId","data-v-88db9efc"]]);export{m as default};