import{d as e,a2 as s,r as a,e as t,bj as n,o,h as l,w as p,i,a as c,bk as r,j as d,t as u,aF as _,bi as m,aN as f,O as y,y as g,z as x,a1 as k}from"./index-Cg3FU-dV.js";/* empty css                                                              */import{_ as b}from"./_plugin-vue_export-helper.BCo6x5W8.js";const w=b(e({__name:"index",props:{index:{},title:{default:"暂无数据"}},setup(e){const b=e,{index:w,title:h}=s(b),v=a(!0),j=t(["/pages/forum/index","/pages/notice/index","/pages/workbench/index"]);n({success:e=>{v.value="none"!==e.networkType}});const I=()=>{const e=_(),s=e[e.length-1],a=s.$page.fullPath,t=s.$page.path;j.includes(t)?setTimeout((()=>{m({url:decodeURI(a)})}),500):setTimeout((()=>{f({url:decodeURI(a)})}),500)};return(e,s)=>{const a=y,t=g,n=x,_=k;return o(),l(n,{class:"empty"},{default:p((()=>[v.value?(o(),l(n,{key:0,class:"empty-content"},{default:p((()=>[i(a,{class:"empty-img",src:"/static/image/empty"+c(r)(c(w))+".png",mode:""},null,8,["src"]),i(t,{class:"tips"},{default:p((()=>[d(u(c(h)),1)])),_:1})])),_:1})):(o(),l(n,{key:1,class:"empty-content"},{default:p((()=>[i(a,{class:"no-network",src:"/work/assets/no-network-BpBSD2OZ.png",mode:""}),i(t,{class:"tips"},{default:p((()=>[d("网络开小差了～")])),_:1}),i(_,{class:"network-btn",type:"primary",plain:"true",size:"mini",onClick:I},{default:p((()=>[d("刷新一下")])),_:1})])),_:1}))])),_:1})}}}),[["__scopeId","data-v-ba8af8b0"]]);export{w as e};
