Commit 198b0660 authored by Mac's avatar Mac
parents 4cfef27c 4a9086df
...@@ -215,7 +215,15 @@ ...@@ -215,7 +215,15 @@
showSignln() showSignln()
function sendMsg() { function sendMsg() {
proxy.invoke("Hello", '1').done(msg => { 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() { function getMsg() {
...@@ -230,13 +238,13 @@ ...@@ -230,13 +238,13 @@
console.log(newData) console.log(newData)
dataList.push(newData) dataList.push(newData)
}) })
proxy.on("initSignins", data=>{ // proxy.on("initSignins", data=>{
console.log(data) // console.log(data)
dataList2 = data // dataList2 = data
CurPersonNum = dataList2.length -1 // CurPersonNum = dataList2.length -1
createHead() // createHead()
init(); // init();
}) // })
proxy.on("barrage",data=>{ proxy.on("barrage",data=>{
let barrage = data let barrage = data
console.log() 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