优化页面

This commit is contained in:
pengxiaolong
2025-06-18 16:01:55 +08:00
parent e464d99af5
commit ec9dcb486f
122 changed files with 349 additions and 251 deletions

View File

@@ -37,7 +37,6 @@ export default {
key: "lastPage",
success: (res) => {
this.lastPage = "/"+res.data;
console.log(this.lastPage);
},
fail: () => {
this.lastPage = "/pages/Home/Home";
@@ -61,7 +60,6 @@ export default {
userInfo: false,
});
this.info = res;
console.log("登录信息", this.info);
const sdkAppID = Number(this.info.data.chatInfo.appId);
const userID ="administrator";
this.userSig = genTestUserSig({
@@ -74,7 +72,6 @@ export default {
SECRETKEY:this.info.data.chatInfo.appKey,
userID: String(res.data.info.id),
})
console.log("userSig",this.myuserSig.userSig);
uni.setStorageSync("myuserSig", this.myuserSig)
uni.setStorageSync("chatInfo", this.info.data.chatInfo)
uni.setStorageSync("userSig", this.userSig)
@@ -92,7 +89,6 @@ export default {
TUIlogin(this.info.data.chatInfo.appId, this.info.data.info.id,this.myuserSig.userSig)
uni.hideLoading();
//跳转原来页面否则首页
console.log("跳的地址", this.lastPage);
uni.reLaunch({
url: this.lastPage,
});