jihuaqiang 3 settimane fa
parent
commit
a8188fa3e9
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      src/views/setting/setting.tsx

+ 2 - 0
src/views/setting/setting.tsx

@@ -29,6 +29,8 @@ const Setting = () => {
 
 	const getPiaoQuanUserInfo = async (code: string) => {
 		console.log(code)
+		// 在url上添加code参数
+		window.location.href = window.location.href + `?code=${code}`
 	}
 
 	const renderQrcode = () => {