This commit is contained in:
hackrobot
2024-04-11 01:03:04 +08:00
parent 6b4bf3fdc1
commit 0b80e81a97

View File

@@ -64,7 +64,7 @@ const Index = () => {
if (params?.wxid || localwxid) { if (params?.wxid || localwxid) {
// 本地存储 // 本地存储
window.localStorage.setItem("wxid", params?.wxid ?? ""); window.localStorage.setItem("wxid", params?.wxid ?? "");
alert(params?.wxid); // alert(params?.wxid);
setwxid(params?.wxid); setwxid(params?.wxid);
if ( if (
!localh5openid || !localh5openid ||
@@ -102,7 +102,7 @@ const Index = () => {
}, },
}); });
} catch (e) { } catch (e) {
alert(e); // alert(e);
} finally { } finally {
} }
}; };