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 = () => {