1 |
- import{I as t,o as e,e as o,f as n,w as a,i as s,g as r,aT as i,bu as c,l,m as p}from"./index-f0468be9.js";import{_ as u}from"./s-empty.510233de.js";import{_ as m}from"./_plugin-vue_export-helper.1b428a4d.js";/* empty css */const _=m({__name:"error",setup(m){const _=t(""),f=t("");async function x(){i({url:"/pages/index/index"}),await c()}return e((t=>{_.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"===_.value?(o(),n(i,{key:0,icon:"/static/internet-empty.png",text:"网络连接失败",showAction:"",actionText:"重新连接",onClickAction:x,buttonColor:"#ff3000"})):"TemplateError"===_.value?(o(),n(i,{key:1,icon:"/static/internet-empty.png",text:"未找到模板",showAction:"",actionText:"重新加载",onClickAction:x,buttonColor:"#ff3000"})):""!==_.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{_ as default};
|