This commit is contained in:
pengxiaolong
2025-05-20 00:10:07 +08:00
parent ff546bd9a9
commit 6107739077
34 changed files with 583 additions and 92 deletions

View File

@@ -11,6 +11,7 @@
<script>
import request from "../../components/request.js";
import genTestUserSig from "../../components/debug/GenerateTestUserSig.js";
import TUIlogin from "../../components/TUILogin.js";
// const genTestUserSig = require('../../components/debug/GenerateTestUserSig.js');
export default {
inject: ['$global'],
@@ -54,6 +55,7 @@ export default {
SECRETKEY:this.info.data.chatInfo.appKey,
userID: userID,
})
uni.setStorageSync("chatInfo", this.info.data.chatInfo)
uni.setStorageSync("userSig", userSig)
uni.setStorageSync("userinfo", this.info.data.info);
uni.reLaunch({
@@ -62,6 +64,7 @@ export default {
} else {
uni.setStorageSync("userinfo", this.info.data.info);
uni.hideLoading();
TUIlogin(this.info.data.chatInfo.appId, this.info.data.info.userChatId, userSig)
//跳转原来页面否则首页
uni.reLaunch({
url: this.$global.lastPage || "/pages/Home/Home", // 默认页