"use strict";const e=require("../common/vendor.js");require("../common/libraries/request.js"),require("../common/store/useWatermarkStore.js"),require("../common/store/useWeAppAuthStore.js"),require("../common/store/useWorkStore.js");const r=require("../common/libraries/userUserLogin.js");require("../gen/Apis.js"),require("../common/libraries/apiLoading.js");const o=e.defineComponent({__name:"loading",setup:o=>(e.onShow(async()=>{var o;e.index.showLoading({title:"加载中...",mask:!0}),await(null==(o=e.getCurrentInstance())?void 0:o.appContext.config.globalProperties.$onLaunched),e.index.hideLoading(),r.getUser.getLoginStatus()?e.index.navigateTo({url:"/pages/index/index"}):e.index.redirectTo({url:"/pages/login"})}),(e,r)=>({}))});wx.createPage(o);
