DEBUG
This commit is contained in:
parent
1c584097d5
commit
346adfe6b6
@ -246,7 +246,7 @@ export default class ClientList {
|
|||||||
async 用户更新({ id, name, avatar }) {
|
async 用户更新({ id, name, avatar }) {
|
||||||
const client = this.clientlist.find(client => client.id === id)
|
const client = this.clientlist.find(client => client.id === id)
|
||||||
console.log('更新用户信息:', name)
|
console.log('更新用户信息:', name)
|
||||||
document.getElementById(id).querySelector('span').textContent = name + 'sa'
|
document.getElementById(id).querySelector('span').textContent = name
|
||||||
document.getElementById(id).querySelector('img').src = avatar
|
document.getElementById(id).querySelector('img').src = avatar
|
||||||
}
|
}
|
||||||
exit(item) {
|
exit(item) {
|
||||||
|
Loading…
Reference in New Issue
Block a user