This commit is contained in:
cansnow
2025-12-05 16:10:52 +08:00
parent 29be534f22
commit 69a61178e1
64 changed files with 2575 additions and 1141 deletions
+6 -2
View File
@@ -107,6 +107,7 @@ export default {
},
onLoad(options) {
const _this = this;
// #ifdef APP
plus.runtime.getProperty(plus.runtime.appid, (inf) => {
console.log(inf);
_this.appversion = inf.version
@@ -114,6 +115,7 @@ export default {
// if(options.isRedirect){
// plus.navigator.closeSplashscreen();
// }
// #endif
this.init();
},
methods: {
@@ -166,10 +168,12 @@ export default {
code: this.loginInfo.verificationCode,
});
const { imToken, userID } = data;
// #ifdef APP
await IMSDK.asyncApi(IMSDK.IMMethods.Login, uuidv4(), {
userID,
token: imToken,
});
// #endif
this.saveLoginProfile(data);
this.$store.commit("user/SET_AUTH_DATA", data);
this.$store.dispatch("user/getSelfInfo");
@@ -274,8 +278,8 @@ export default {
.logo {
display: flex;
flex-direction: column;
justify-content: start;
align-items: start;
justify-content: flex-start;
align-items: flex-start;
img {
width: 160rpx;