Browse Source

跳转页面bug

xuxingan 3 years ago
parent
commit
3fcd04e323
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/pages/main/redir/redir.vue

+ 4 - 2
src/pages/main/redir/redir.vue

@@ -29,9 +29,11 @@
 
                     console.log("目标页面中获取",this.$route.query.pass)
                     // 商户引入流程权限
+                    console.log(111);
                     var url = 'http://10.149.15.69:8080/manageapi/admin/api/v3/loginFromWork?account='+res.data[0].phoneNo+'&pass='+this.$route.query.pass;
-                    // window.open(url);
-                    window.location.href=url;
+                    window.open(url);
+                    self.location.href="marketfront/#/leader"
+                    // window.location.href=url;
                 });
 
             },