2 lines
679 B
JavaScript
2 lines
679 B
JavaScript
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./common/vendor.js");Math;const t={data:()=>({info:{},userSig:"",chatInfo:{}}),onLoad(t){this.AutomaticCleaning(),e.index.getStorage({key:"userinfo",success:e=>{this.info=e.data,counter.$patch({myitem:this.info})},fail:()=>{}})},methods:{AutomaticCleaning(){const t=e.index.getStorageSync("last_clean_time")||0,a=Date.now();a-t<6048e5||(e.index.clearStorage(),e.index.setStorageSync("last_clean_time",a))}},provide:()=>({$global:{lastPage:null}})};function a(){const a=e.createSSRApp(t);return a.use(e.createPinia()),{app:a,Pinia:e.Pinia}}a().app.mount("#app"),exports.createApp=a;
|