2024-05-25 17:25:14 +08:00
|
|
|
import{w as l}from"./element-plus.bccb9376.js";import{a as u}from"./vue-router.101084e3.js";import{d,r as _,Y as v,o as s,c as f,a as e,H as B,S as i,K as x,L as y,R as g,u as E,Q as h}from"./@vue.18505fe0.js";import{d as k}from"./index.68fb39c6.js";import"./lodash-es.bdeecbdb.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.js";import"./dayjs.a6528143.js";import"./@babel.16688d44.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./lodash.466e9fe4.js";import"./axios.4905d81f.js";import"./jspdf.54afd842.js";import"./fflate.fca59393.js";import"./pinia.a969beab.js";import"./css-color-function.29b71fa4.js";import"./color.87d313dc.js";import"./clone.a63396d9.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./vue-plugin-hiprint.a2d84e76.js";import"./jquery.c3f97e49.js";import"./jsbarcode.39151b53.js";import"./socket.io-client.0b5a7289.js";import"./engine.io-client.81030771.js";import"./engine.io-parser.c748e159.js";import"./@socket.io.77accf6a.js";import"./debug.b392f131.js";import"./socket.io-parser.b7256298.js";import"./html2canvas.0f5947bc.js";import"./canvg.a673c4b2.js";import"./core-js.97b94d69.js";import"./raf.407ad6ad.js";import"./performance-now.a710f6e4.js";import"./rgbcolor.20c71161.js";import"./svg-pathdata.eba17832.js";import"./stackblur-canvas.0fb5df18.js";import"./nprogress.3461658b.js";import"./vue-clipboard3.c63182fd.js";import"./clipboard.dd2c63d0.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.b0c09b66.js";const w={class:"error"},S={class:"error-code"},C={class:"text-lg text-tx-secondary mt-7 mb-7"},D=d({__name:"error",props:{code:String,title:String,showBtn:{type:Boolean,default:!0}},setup(t){const a=t;let o=null;const r=_(5),m=u();return a.showBtn&&(o=setInterval(()=>{r.value===0?(clearInterval(o),m.go(-1)):r.value--},1e3)),v(()=>{o&&clearInterval(o)}),(n,p)=>{const c=l;return s(),f("div",w,[e("div",null,[B(n.$slots,"content",{},()=>[e("div",S,i(t.code),1)],!0),e("div",C,i(t.title),1),t.showBtn?(s(),x(c,{key:0,type:"primary",onClick:p[0]||(p[0]=I=>E(m).go(-1))},{default:y(()=>[g(i(r.value)+" \u79D2\u540E\u8FD4\u56DE\u4E0A\u4E00\u9875 ",1)]),_:1})):h("",!0)])])}}});const Ct=k(D,[["__scopeId","data-v-a47523cc"]]);export{Ct as default};
|