WokerTask/public/admin/assets/error.b0ca8a9d.js

2 lines
2.0 KiB
JavaScript
Raw Normal View History

2024-01-24 10:03:39 +08:00
import{w as c}from"./element-plus.ff90c99c.js";import{a as u}from"./vue-router.6d4cf914.js";import{d,r as _,_ as v,o as a,c as f,a as e,J as B,V as i,P as x,Q as y,U as g,u as E,T as h}from"./@vue.f8dfc830.js";import{d as k}from"./index.2c97e227.js";import"./lodash-es.a73406b7.js";import"./@vueuse.a2e59ee9.js";import"./@element-plus.0374639c.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.7f1be2bc.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.34a21088.js";import"./lodash.2e6f447e.js";import"./axios.075403c9.js";import"./pinia.4b196199.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.b6f240ee.js";import"./color.35874cfa.js";import"./clone.d8e67888.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.e6aad81b.js";import"./ms.a9ae1d6d.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.ac57a99a.js";import"./zrender.d54ce080.js";import"./tslib.60310f1a.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.79024f1a.js";const w={class:"error"},C={class:"error-code"},D={class:"text-lg text-tx-secondary mt-7 mb-7"},I=d({__name:"error",props:{code:String,title:String,showBtn:{type:Boolean,default:!0}},setup(t){const n=t;let o=null;const r=_(5),m=u();return n.showBtn&&(o=setInterval(()=>{r.value===0?(clearInterval(o),m.go(-1)):r.value--},1e3)),v(()=>{o&&clearInterval(o)}),(p,s)=>{const l=c;return a(),f("div",w,[e("div",null,[B(p.$slots,"content",{},()=>[e("div",C,i(t.code),1)],!0),e("div",D,i(t.title),1),t.showBtn?(a(),x(l,{key:0,type:"primary",onClick:s[0]||(s[0]=S=>E(m).go(-1))},{default:y(()=>[g(i(r.value)+" \u79D2\u540E\u8FD4\u56DE\u4E0A\u4E00\u9875 ",1)]),_:1})):h("",!0)])])}}});const ut=k(I,[["__scopeId","data-v-9a820143"]]);export{ut as default};