风格一致
This commit is contained in:
parent
5a39640f74
commit
65cb34f713
@ -250,7 +250,7 @@ export default class ClientList {
|
||||
}
|
||||
async 用户更新({ id, name, avatar }) {
|
||||
const client = this.clientlist.find(client => client.id === id)
|
||||
console.log('更新用户信息:', name)
|
||||
console.log(name, '更新了身份信息')
|
||||
document.getElementById(id).querySelector('span').textContent = name
|
||||
document.getElementById(id).querySelector('img').src = avatar
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user