Forráskód Böngészése

未处理bug (先还原)

zhengkaixin 4 éve
szülő
commit
93ccfe9f71
1 módosított fájl, 2 hozzáadás és 2 törlés
  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, '');
 					}
 				}
 			},