"use strict";const e=require("../../vendor.js"),r=require("../../store/useWeAppAuthStore.js");if(require("../../../gen/Apis.js"),require("../../libraries/request.js"),require("../../store/useWatermarkStore.js"),require("../../store/useWorkStore.js"),require("../../libraries/apiLoading.js"),!Array){e.resolveComponent("up-button")()}Math;const o=e.defineComponent({__name:"NetworkError",setup(o){r.useWeAppAuthStore();const t=e.ref();function n(){const r=getCurrentPages(),o=r[r.length-1];console.log("currentPage",o);const t=o.$page.fullPath;if(o.$page.options){const r=o.$page.options,n=`${t}?${Object.keys(r).map(e=>`${e}=${encodeURIComponent(r[e])}`).join("&")}`;e.index.reLaunch({url:n}),console.log(n)}else e.index.reLaunch({url:t})}return e.onLoad(e=>{t.value=e}),(r,o)=>({a:e.o(n),b:e.p({type:"warning",text:"点击重试"})})}}),t=e._export_sfc(o,[["__scopeId","data-v-2cb842d7"]]);wx.createComponent(t);
