Explorar el Código

未处理bug (先还原)

zhengkaixin hace 4 años
padre
commit
93ccfe9f71
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      src/components/Common.vue

+ 2 - 2
src/components/Common.vue

@@ -98,12 +98,12 @@
 									path: decodeURIComponent(redirect)
 								});
 							} else {
-								//window.location.href = document.URL.replace(/\?code=(.*?)&state=STATE/g, '');
+								window.location.href = document.URL.replace(/\?code=(.*?)&state=STATE/g, '');
 							}
 						});
 					} else {
 						//如果存在openid,把链接中code字符去除
-						///window.location.href = document.URL.replace(/\?code=(.*?)&state=STATE/g, '');
+						window.location.href = document.URL.replace(/\?code=(.*?)&state=STATE/g, '');
 					}
 				}
 			},