风格一致

This commit is contained in:
2023-10-21 19:21:17 +08:00
parent 5a39640f74
commit 65cb34f713
1 changed files with 1 additions and 1 deletions

View File

@ -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
}