初始版本

This commit is contained in:
贾祥聪
2025-08-19 14:16:51 +08:00
commit f937a1f9b9
4373 changed files with 359728 additions and 0 deletions

View File

@@ -0,0 +1 @@
import{d as u,r as m,i as v,by as f,o as l,a as p,b as s,a3 as _,t as r,B,w as x,p as y,f as g,G as h,v as b,x as k}from"./index-CGub03FT.js";const w={class:"error"},C={class:"error-code"},I={class:"text-lg text-tx-secondary mt-7 mb-7"},S=u({__name:"error",props:{code:String,title:String,showBtn:{type:Boolean,default:!0}},setup(e){const c=e;let t=null;const o=m(5),a=v();return c.showBtn&&(t=setInterval(()=>{o.value===0?(clearInterval(t),a.go(-1)):o.value--},1e3)),f(()=>{t&&clearInterval(t)}),(d,n)=>{const i=b;return l(),p("div",w,[s("div",null,[_(d.$slots,"content",{},()=>[s("div",C,r(e.code),1)],!0),s("div",I,r(e.title),1),e.showBtn?(l(),B(i,{key:0,type:"primary",onClick:n[0]||(n[0]=E=>g(a).go(-1))},{default:x(()=>[y(r(o.value)+" 秒后返回上一页 ",1)]),_:1})):h("",!0)])])}}}),V=k(S,[["__scopeId","data-v-58b95848"]]);export{V as default};