修复了提交
This commit is contained in:
parent
79990e56d2
commit
2f4e938a2b
@ -117,7 +117,8 @@ export default {
|
||||
uni.setStorageSync('userinfo', res.data);
|
||||
uni.setStorageSync('rongyun', res.data.rongcloud_token);
|
||||
this.$u.route({
|
||||
url: '/pages/user/myinfo'
|
||||
url: '/pages/user/myinfo',
|
||||
type:"redirect"
|
||||
});
|
||||
}
|
||||
});
|
||||
|
@ -54,8 +54,10 @@ export default {
|
||||
info:{},
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
onShow(){
|
||||
this.getmyinfo()
|
||||
},
|
||||
onLoad() {
|
||||
const user = uni.getStorageSync('userinfo');
|
||||
console.log(user)
|
||||
this.imService.login(user.userId,user.member_nickname,user.member_avatar)
|
||||
|
Loading…
Reference in New Issue
Block a user