提交 c0cbb0b1 编写于 作者: NoSubject's avatar NoSubject

Merge branch 'fix/websocket_heartTimeout' into 'wrdp'

_setLayoutService方法修复

See merge request o2oa/o2oa!2645
......@@ -74,6 +74,12 @@ o2.addReady(function () {
if (configLoaded && commonLoaded && lpLoaded) _getDistribute(function () { _load(); });
});
var _setLayoutService = function(service, center){
layout.serviceAddressList = service;
layout.centerServer = center;
layout.desktop.serviceAddressList = service;
layout.desktop.centerServer = center;
};
var _getDistribute = function (callback) {
if (layout.config.app_protocol === "auto") {
layout.config.app_protocol = window.location.protocol;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册