We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
比如我在测试demo获取历史消息的函数里写了个message.data = { id : '1', name : 'xxx' },但是在另一个函数,比如单击消息的函数里打印出来的message还是只有那几个默认的值 getHistoryMessage(){ message.data = { id : '1', name : 'xxx' } messages.push(message); AuroraIController.appendMessages(messages); } onMsgClick(message){ console.log(message.data) // undefined ,message里只有初始的那几个值 }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
比如我在测试demo获取历史消息的函数里写了个message.data = { id : '1', name : 'xxx' },但是在另一个函数,比如单击消息的函数里打印出来的message还是只有那几个默认的值
getHistoryMessage(){
message.data = { id : '1', name : 'xxx' }
messages.push(message);
AuroraIController.appendMessages(messages);
}
onMsgClick(message){
console.log(message.data) // undefined ,message里只有初始的那几个值
}
The text was updated successfully, but these errors were encountered: