Commit 198b0660 authored by Mac's avatar Mac
parents 4cfef27c 4a9086df
......@@ -215,7 +215,15 @@
showSignln()
function sendMsg() {
proxy.invoke("Hello", '1').done(msg => {
console.log(msg)
console.log("Hello")
});
console.log('111')
proxy.invoke("SendSignins", '1').done(data => {
console.log('initSignins', data)
dataList2 = data
CurPersonNum = dataList2.length -1
createHead()
init();
});
}
function getMsg() {
......@@ -230,13 +238,13 @@
console.log(newData)
dataList.push(newData)
})
proxy.on("initSignins", data=>{
console.log(data)
dataList2 = data
CurPersonNum = dataList2.length -1
createHead()
init();
})
// proxy.on("initSignins", data=>{
// console.log(data)
// dataList2 = data
// CurPersonNum = dataList2.length -1
// createHead()
// init();
// })
proxy.on("barrage",data=>{
let barrage = data
console.log()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment