| 
														
															@@ -5,6 +5,8 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 <script> 
														 | 
														
														 | 
														
															 <script> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import Vue from "vue"; 
														 | 
														
														 | 
														
															 import Vue from "vue"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import { getAuthen } from "../assets/util"; 
														 | 
														
														 | 
														
															 import { getAuthen } from "../assets/util"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import querystring from "querystring"; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 export default Vue.extend({ 
														 | 
														
														 | 
														
															 export default Vue.extend({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   head() { 
														 | 
														
														 | 
														
															   head() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     return { 
														 | 
														
														 | 
														
															     return { 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -16,12 +18,22 @@ export default Vue.extend({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       redirect: "", 
														 | 
														
														 | 
														
															       redirect: "", 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }; 
														 | 
														
														 | 
														
															     }; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   }, 
														 | 
														
														 | 
														
															   }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-  mounted() { 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-    this.redirect = this.$route.query.state; 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  created() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    console.log(this.$route); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    const [url, str] = this.$route.query.state.split("abc") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    this.redirect = url; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    if(str!==undefined){ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      const search = querystring.parse(str.replace(/def/g,"&").replace(/ghi/g,"=")); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      console.log(search) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+     
														 | 
													
												
											
												
													
														| 
														 | 
														
															     if (!this.$route.query.code) { 
														 | 
														
														 | 
														
															     if (!this.$route.query.code) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       getAuthen(); 
														 | 
														
														 | 
														
															       getAuthen(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } else { 
														 | 
														
														 | 
														
															     } else { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      console.log("-----"); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      console.log(this.$route); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       this.$store.dispatch("authen/login",this.$route.query.code).then((res)=>{ 
														 | 
														
														 | 
														
															       this.$store.dispatch("authen/login",this.$route.query.code).then((res)=>{ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        console.log(this.$route.query); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         this.handleGoto(); 
														 | 
														
														 | 
														
															         this.handleGoto(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       }).catch((res)=>{ 
														 | 
														
														 | 
														
															       }).catch((res)=>{ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         alert(res); 
														 | 
														
														 | 
														
															         alert(res); 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -31,6 +43,8 @@ export default Vue.extend({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   }, 
														 | 
														
														 | 
														
															   }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   methods: { 
														 | 
														
														 | 
														
															   methods: { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     handleGoto() { 
														 | 
														
														 | 
														
															     handleGoto() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      console.log("goto") 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      console.log(this.redirect); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       this.$router.replace({ 
														 | 
														
														 | 
														
															       this.$router.replace({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         path: this.redirect, 
														 | 
														
														 | 
														
															         path: this.redirect, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       }); 
														 | 
														
														 | 
														
															       }); 
														 |