Browse Source

代码提交

hy 7 năm trước cách đây
mục cha
commit
5da282aaa2

+ 1 - 1
frontend/saas-portal-web/src/components/conenter/enterprise.vue

@@ -130,7 +130,7 @@ import { setTimeout } from 'timers';
                 const frame = window.frames[window.frames.length - 1]
                 frame.postMessage('', '*')
                 Session.remove()
-                window.location.href=this.$url.sso+'/logquit?appId=sp&returnURL=https://'+window.location.host
+                window.location.href=this.$url.sso+'/logquit?appId=sp&returnURL='+window.location.origin
                 // this.$router.puth({path:'/home'})
             },
             //修改密码

+ 1 - 1
frontend/saas-portal-web/src/components/conenter/home.vue

@@ -345,7 +345,7 @@
         const frame = window.frames[window.frames.length - 1]
         frame.postMessage('', '*')
         Session.remove()
-        window.location.href=this.$url.sso+'/logquit?appId=sp&returnURL=https://'+window.location.host
+        window.location.href=this.$url.sso+'/logquit?appId=sp&returnURL='+window.location.origin
         //this.$router.go(0);
       },
       // 关闭窗口