Browse Source

Merge branch 'fix/App_download_url' into 'develop'

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

See merge request o2oa/o2oa!162
蔡祥熠 6 năm trước cách đây
mục cha
commit
bd3fa1c24e
1 tập tin đã thay đổi với 5 bổ sung1 xóa
  1. 5 1
      o2web/source/o2_core/o2/xDesktop/Authentication.js

+ 5 - 1
o2web/source/o2_core/o2/xDesktop/Authentication.js

@@ -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 () {