jihuaqiang 3 주 전
부모
커밋
a8188fa3e9
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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 = () => {