Explorar o código

未处理bug (先还原)

zhengkaixin %!s(int64=4) %!d(string=hai) anos
pai
achega
93ccfe9f71
Modificáronse 1 ficheiros con 2 adicións e 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, '');
 					}
 				}
 			},