优化页面

This commit is contained in:
pengxiaolong
2025-05-27 21:05:01 +08:00
parent cf8728f0d7
commit e682754922
28 changed files with 2742 additions and 2434 deletions

23
App.vue
View File

@@ -1,7 +1,7 @@
<script lang="ts">
// #ifdef APP-PLUS || H5
import TUIlogin from "./components/TUILogin.js";
import { TUIChatKit } from './TUIKit';
TUIChatKit.init();
// #endif
@@ -19,27 +19,6 @@ export default {
};
},
onLoad(option) {
uni.getStorage({
key: "userinfo",
success: (res) => {
this.info = res.data;
},
});
uni.getStorage({
key: "userSig",
success: (res) => {
this.userSig = res.data;
},
});
uni.getStorage({
key: "chatInfo",
success: (res) => {
this.chatInfo = res.data;
},
});
if (this.userSig) {
TUIlogin(this.chatInfo.appId, this.info.userChatId, this.userSig);
}
},
provide() {
return {