风格一致
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user