debug: 我的页面-昵称展示

This commit is contained in:
hackrobot
2024-03-25 02:46:22 +08:00
parent 9850328c9d
commit 58f5b5f41a
2 changed files with 2 additions and 2 deletions

View File

@@ -71,7 +71,7 @@ export default function Index() {
// const [wxid, openId] = params; // const [wxid, openId] = params;
// debug // debug
params.wxid = "wxid_4413224132412"; // params.wxid = "wxid_4413224132412";
if (params?.wxid) { if (params?.wxid) {
setuserInfo({ setuserInfo({
wxid: params?.wxid, //个人号wxid wxid: params?.wxid, //个人号wxid

View File

@@ -44,7 +44,7 @@ const my = () => {
image={localuserInfo?.smallhead ?? touxiang} image={localuserInfo?.smallhead ?? touxiang}
></AtAvatar> ></AtAvatar>
<View> <View>
<AtTag size="small">{localuserInfo?.nickname??星球新居民}</AtTag> <AtTag size="small">{localuserInfo?.nickname??"星球新居民"}</AtTag>
{/* <AtTag size="small">女</AtTag> */} {/* <AtTag size="small">女</AtTag> */}
</View> </View>
</View> </View>