Selaa lähdekoodia

修复登录页APP地址

unknown 5 vuotta sitten
vanhempi
commit
906ee01091
1 muutettua tiedostoa jossa 5 lisäystä ja 1 poistoa
  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']");
             this.bindSepArea = this.bindLoginContainer.getElement("[styles='bindSepArea']");
             var link = this.bindLoginContainer.getElement("[styles='bindTipLinkArea']");
             var link = this.bindLoginContainer.getElement("[styles='bindTipLinkArea']");
             link.addEvent("click", function () {
             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));
             }.bind(this));
 
 
             MWF.xDesktop.requireApp("Template", "MForm", function () {
             MWF.xDesktop.requireApp("Template", "MForm", function () {