提交 bd3fa1c2 编写于 作者: 蔡祥熠

Merge branch 'fix/App_download_url' into 'develop'

Merge of fix/[登录页]修改APP的下载地址 to develop

See merge request o2oa/o2oa!162
......@@ -760,7 +760,11 @@ MWF.xDesktop.Authentication.LoginForm = new Class({
this.bindSepArea = this.bindLoginContainer.getElement("[styles='bindSepArea']");
var link = this.bindLoginContainer.getElement("[styles='bindTipLinkArea']");
link.addEvent("click", function () {
window.open(this.lp.o2downloadLink, "_blank");
if( layout.config.appUrl ){
window.open(layout.config.appUrl, "_blank");
}else{
window.open(this.lp.o2downloadLink, "_blank");
}
}.bind(this));
MWF.xDesktop.requireApp("Template", "MForm", function () {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册