Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
李奇
8 years ago
Commit
273c142b5e5ed0688dfec657bf7fc4547fba190d
1 parent
b135bb95
fixed:临时代吗删除
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
23 deletions
public/js/service/client.page.js
public/js/service/client.page.js
View file @
273c142
...
...
@@ -1077,6 +1077,8 @@ $document.on('click', function (e) {
// 重新连线
$msgList
.
on
(
'click'
,
'.reconnect'
,
function
()
{
// 共通处理
beforeSendMsg
();
socketChat
.
init
(
Object
.
assign
(
originConf
,
{
onOpen
:
function
()
{
console
.
log
(
'websocket opened!'
);
...
...
@@ -1138,26 +1140,3 @@ $panelMainBody.scroll(function() {
processInfo
.
scrollLoad
&&
loading
&&
hasMore
&&
fetchHistoryMsg
();
});
// TODO
// socketChat.init(Object.assign(socketConf, {
// onOpen: function() {
// console.log('websocket opened!');
// },
//
// onMessage: function(e) {
// var received = JSON.parse(e.data);
//
// socketConfCM.conversationId = received.newConversationId !== 0 ?
// received.newConversationId :
// received.conversationId;
//
// // 保存过程中信息
// getMessage(received);
// },
//
// onClose: function() {
// console.log('websocket closed!');
// }
// }));
...
...
Please
register
or
login
to post a comment