优化页面

This commit is contained in:
pengxiaolong
2025-06-10 23:06:51 +08:00
parent 8c70c2c850
commit 3c2d7e5959
974 changed files with 353 additions and 87597 deletions

View File

@@ -0,0 +1 @@
"use strict";const e=require("../common/vendor.js");exports.VerifyLogin=function(){return new Promise(((n,t)=>{e.index.getStorage({key:"userinfo",success:t=>{t.data?t.data.nickName?n(!0):(e.index.setStorageSync("lastPage",getCurrentPages()[getCurrentPages().length-1].route),e.index.reLaunch({url:"/pages/UserInformation/UserInformation"}),n(!1)):(e.index.setStorageSync("lastPage",getCurrentPages()[getCurrentPages().length-1].route),e.index.navigateTo({url:"/pages/login/login"}),n(!1))},fail:n=>{console.error("获取用户信息失败",n),e.index.setStorageSync("lastPage",getCurrentPages()[getCurrentPages().length-1].route),e.index.navigateTo({url:"/pages/login/login"}),t(n)}})}))};