fqqf
This commit is contained in:
@@ -53,6 +53,7 @@ const Index = () => {
|
|||||||
wxaccount: null,
|
wxaccount: null,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
// 获取用户标识符
|
// 获取用户标识符
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
// 获取路由参数
|
// 获取路由参数
|
||||||
@@ -127,9 +128,9 @@ const Index = () => {
|
|||||||
}
|
}
|
||||||
if (!!hashopenid && hashopenid != "undefined" && hashopenid != "null") {
|
if (!!hashopenid && hashopenid != "undefined" && hashopenid != "null") {
|
||||||
window.localStorage.setItem("h5openid", hashopenid);
|
window.localStorage.setItem("h5openid", hashopenid);
|
||||||
// alert(hashopenid);
|
alert(hashopenid);
|
||||||
let localwxid = window.localStorage.getItem("wxid");
|
let localwxid = window.localStorage.getItem("wxid");
|
||||||
// alert(localwxid);
|
alert(localwxid);
|
||||||
seth5openid(hashopenid);
|
seth5openid(hashopenid);
|
||||||
// 查询用户信息
|
// 查询用户信息
|
||||||
h5openidUser();
|
h5openidUser();
|
||||||
|
|||||||
Reference in New Issue
Block a user