From 8f5b6e59f3a4f7ebb4edc281ea6c87be77fc6e47 Mon Sep 17 00:00:00 2001 From: hackrobot Date: Thu, 11 Apr 2024 09:03:08 +0800 Subject: [PATCH] fqqf --- src/pages/index/index.jsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pages/index/index.jsx b/src/pages/index/index.jsx index 9eabdbd..e33702e 100644 --- a/src/pages/index/index.jsx +++ b/src/pages/index/index.jsx @@ -53,6 +53,7 @@ const Index = () => { wxaccount: null, }); + // 获取用户标识符 useEffect(() => { // 获取路由参数 @@ -127,9 +128,9 @@ const Index = () => { } if (!!hashopenid && hashopenid != "undefined" && hashopenid != "null") { window.localStorage.setItem("h5openid", hashopenid); - // alert(hashopenid); + alert(hashopenid); let localwxid = window.localStorage.getItem("wxid"); - // alert(localwxid); + alert(localwxid); seth5openid(hashopenid); // 查询用户信息 h5openidUser();