Преглед на файлове

Merge branch 'v1.4' into dev

ansoni преди 2 месеца
родител
ревизия
26271d9751
променени са 2 файла, в които са добавени 5 реда и са изтрити 2 реда
  1. 0 1
      src/app/[locale]/(TabBar)/[[...share]]/layout.tsx
  2. 5 1
      src/app/[locale]/(TabBar)/profile/page.tsx

+ 0 - 1
src/app/[locale]/(TabBar)/[[...share]]/layout.tsx

@@ -51,7 +51,6 @@ const Placeholder = () => {
     return <div className={"flex justify-center"}>{/*<Loading/>*/}</div>;
 };
 const Layout: FC<PropsWithChildren<Props>> = async (props) => {
-    console.log(`🚀🚀🚀🚀🚀-> in layout.tsx on 54 布局组件加载。。。`);
     const {
         children,
         swiperWidget,

+ 5 - 1
src/app/[locale]/(TabBar)/profile/page.tsx

@@ -38,7 +38,11 @@ const Profile = () => {
 
     return (
         <div className="profile-box">
-            <ProfileHeader userInfo={userInfo.data} userMoney={userMoney.data} userVip={userVip} />
+            <ProfileHeader
+                userInfo={userInfo?.data}
+                userMoney={userMoney?.data}
+                userVip={userVip}
+            />
             <ItemCom />
             <ModalCom />
         </div>