10
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user