This commit is contained in:
2020-11-30 10:03:21 +08:00
parent 242a95b2ee
commit b918a0cee7
2 changed files with 13 additions and 1 deletions

13
dist/js/iminit.js vendored
View File

@@ -224,12 +224,23 @@ function formatDateTime (inputTime) {
sendtext(text)
$("#shurukuang").val("")
})
$("#shurukuang").keyup(function(event){
if(event.keyCode ==13){
//这里填写你要做的事件
//TODO
const text = $("#shurukuang").val()
console.log(text)
sendtext(text)
$("#shurukuang").val("")
}
});
})
});
});
function sendjinyan(id,type){
const m = tim.createTextMessage({
to: window.roomid,