goview_vue/dist/static/js/index-4186c295.js
2023-06-06 13:24:29 +08:00

2 lines
812 B
JavaScript

import{u as m}from"./chartLayoutStore-810503fe.js";import{d as i,O as _,j as s,a1 as d,J as f,r as a,o as h,D as g,w as v,n as r,b as x}from"./index-4ec2ce15.js";import"./chartEditStore-bfc6c223.js";import"./plugin-ae137233.js";import"./icon-42fa39e7.js";const C=r("span",null," 拼命加载中... ",-1),N=i({__name:"index",setup(w){const n=m(),c=_(),o=s(!1),t=s(0),l=d(()=>c.getAppTheme);return f(()=>n.getPercentage,e=>{if(e===0){setTimeout(()=>{t.value=e,o.value=!1},500);return}t.value=e,o.value=e>0}),(e,y)=>{const p=a("n-progress"),u=a("n-modal");return h(),g(u,{show:o.value,"close-on-esc":!1,"transform-origin":"center"},{default:v(()=>[r("div",null,[C,x(p,{type:"line",color:l.value,percentage:t.value,style:{width:"300px"}},null,8,["color","percentage"])])]),_:1},8,["show"])}}});export{N as default};