Skip to content

Commit 820c643

Browse files
committed
1233
1 parent 6fe992d commit 820c643

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

chat123/resources/scripts/app/controllers/HallController.js

+2-6
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,7 @@ function initview()
1919
}
2020
catch(err)
2121
{
22-
console.info('set view faile,try a later');
23-
$timeout(function(){
24-
initview();
25-
},5000);
22+
initview();
2623
}
2724
}
2825
MetronicApp.controller('HallController', function($rootScope, $scope, $http, $timeout) {
@@ -280,7 +277,6 @@ MetronicApp.controller('HallController', function($rootScope, $scope, $http, $ti
280277
//连接断开回调方法
281278
function lostConnextCalkback()
282279
{
283-
console.log('连接失败再次尝试');
284280
core.Connect(lostConnextCalkback);
285281
//释放订阅
286282
/* for(var i=0;i<$scope.subscribeList.length;i++)
@@ -290,7 +286,7 @@ MetronicApp.controller('HallController', function($rootScope, $scope, $http, $ti
290286
item.subscribeObj.unsubscribe();
291287
}*/
292288

293-
core.Subscribe($scope.currentSubscribe,$scope.saveAndRenderMsg);
289+
// core.Subscribe($scope.currentSubscribe,$scope.saveAndRenderMsg);
294290
/* //再次订阅
295291
for(var i=0;i<$scope.subscribeList.length;i++)
296292
{

0 commit comments

Comments
 (0)