提交 507e288a 作者: 毛细亚

Merge branch '1.1' into 1.2

...@@ -89,21 +89,24 @@ export default { ...@@ -89,21 +89,24 @@ export default {
close(){ close(){
this.bindAccount = this.accountSelect this.bindAccount = this.accountSelect
}, },
gameMemberView(item) { async gameMemberView(item) {
if (this.accountSelect && this.accountSelect !== '') { if (this.accountSelect && this.accountSelect !== '') {
this.set_viewLoading(true) this.set_viewLoading(true)
this.set_gameUserInfo({})
await this.$nextTick()
const data = { member_id: this.accountSelect, need_channel: 1, need_roleInfo: 1, need_banned: 1 } const data = { member_id: this.accountSelect, need_channel: 1, need_roleInfo: 1, need_banned: 1 }
memberView(data).then((res) => { try {
const res = await memberView(data)
this.set_viewLoading(false) this.set_viewLoading(false)
if (res.status_code === 1) { if (res.status_code === 1) {
this.set_gameUserInfo(res.data) this.set_gameUserInfo(res.data)
} else { } else {
this.set_gameUserInfo({}) this.set_gameUserInfo({})
} }
}, (err) => { } catch (error) {
this.set_viewLoading(false) this.set_viewLoading(false)
this.set_gameUserInfo({}) this.set_gameUserInfo({})
}) }
} }
}, },
addNewUser() { addNewUser() {
......
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
</div> --> </div> -->
<!-- 游戏业务的账号信息 --> <!-- 游戏业务的账号信息 -->
<gameDetails <gameDetails
v-if="gameUserInfo.username" v-if="gameUserInfo.username && !viewLoading"
:chat-user-details="chatUserDetails" :chat-user-details="chatUserDetails"
:game-user-info="gameUserInfo" :game-user-info="gameUserInfo"
@changeAppraisal="changeAppraisal" @changeAppraisal="changeAppraisal"
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论