xbx #169

Merged
theluyuan merged 3 commits from xbx into master 2020-11-30 02:03:39 +00:00
Showing only changes of commit 8c248506c0 - Show all commits

View File

@ -224,12 +224,23 @@ function formatDateTime (inputTime) {
sendtext(text) sendtext(text)
$("#shurukuang").val("") $("#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){ function sendjinyan(id,type){
const m = tim.createTextMessage({ const m = tim.createTextMessage({
to: window.roomid, to: window.roomid,