SOURCE


//快手连天信息获取
var div = document.querySelector(".chat-container.chat-history-container")
var children = div.__vue__.$children
var id = 0
var aaa = 0

div = document.querySelector(".chat-container.chat-history-container")
children = div.__vue__.$children
_length = children.length - 1
console.log("长度:" + children_length)
for (i = lisd.length - 1, f = false; lisd.length > 0 && lisd.length > i; i) {
    if (!f) {
        lisd[i] == id || !i ? (f = true, i++): i--
    } else {

        console.log(lisd[i])

        i++
    }
}

id = lisd[lisd.length - 1]

for (i = _length; i > -1; i--) {
    if (children[i].item.__ob__.dep.id == id) {
        aaa = i
        console.log("记录")
    }
}
console.log("当前所在位置:" + aaa)



console.log("修改之前_ID:" + children[299].item.user.principalId)
children[299].item.user.principalId = "123456789"
console.log("修改之后_ID:" + children[299].item.user.principalId)


/*
var d = {
    "content": "4",
    "user": {
        "principalId": "SuJian1818",
        "userName": "取下一秒",
        "headUrl": "https://p1.a.yximgs.com/uhead/AB/2021/09/24/22/BMjAyMTA5MjQyMjAzMDVfMjgzMDU1Nzk4XzJfaGQyODRfNzg3_s.jpg"
    },
    "color": null
}
var {
    "content": content,
    "user": {
        "userName": userName
    }
} = d
console.log(content)
console.log(userName)
*/
console 命令行工具 X clear

                    
>
console