Files
tk-mini-program/unpackage/dist/build/mp-weixin/app.js
pengxiaolong 3c2d7e5959 优化页面
2025-06-10 23:06:51 +08:00

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;