修改资源404

This commit is contained in:
luoxj 2020-06-29 16:08:42 +08:00
parent 5b9787167f
commit 0e366386f0
1 changed files with 13 additions and 13 deletions

View File

@ -277,18 +277,18 @@
}) })
}, },
connect: function () { <#--connect: function () {-->
var that = this <#-- var that = this-->
var sockjs = new SockJS("/websocket"); <#-- var sockjs = new SockJS("/websocket");-->
var stompClient = Stomp.over(sockjs); <#-- var stompClient = Stomp.over(sockjs);-->
stompClient.connect({}, function (frame) { <#-- stompClient.connect({}, function (frame) {-->
stompClient.subscribe('/topic/message/' +${Session.manager_session.managerId}, function (greeting) { <#-- stompClient.subscribe('/topic/message/' +${Session.manager_session.managerId}, function (greeting) {-->
if (greeting.body == "list") { <#-- if (greeting.body == "list") {-->
that.getMessage() <#-- that.getMessage()-->
} <#-- }-->
}); <#-- });-->
}); <#-- });-->
}, <#--},-->
markMenu: function (title, icon) { markMenu: function (title, icon) {
var menu = { var menu = {
title: title, title: title,
@ -538,7 +538,7 @@
//setInterval(this.getMessage,3000) //setInterval(this.getMessage,3000)
// 菜单列表 // 菜单列表
this.list(); this.list();
this.connect(); // this.connect();
//获取登录用户信息 //获取登录用户信息
this.managerGet(); this.managerGet();
var that = this; var that = this;