瀏覽代碼

未处理bug (先还原)

zhengkaixin 4 年之前
父節點
當前提交
93ccfe9f71
共有 1 個文件被更改,包括 2 次插入2 次删除
  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, '');
 					}
 				}
 			},