@@ -18,7 +18,7 @@ otherInfo.install = function (Vue, store, router) {
},
data () {
return {
- visible: true,
+ visible: false,
userId
}
@@ -114,13 +114,13 @@ export default {
created () {
- this.userInfo = this.members[this.userId]
- console.log(this.userInfo)
API.user.getOtherInfo({
target_id: this.userId,
group_id: this.groupId || null
}).then(({ data }) => {
this.accountList = data.data.binds
+ this.userInfo = data.data
+ this.visible = true
})