From 966c853eb5edbcd352ffaf3e51262f58a5719a54 Mon Sep 17 00:00:00 2001 From: hzm <934585316@qq.com> Date: Thu, 12 Mar 2026 10:03:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BC=B0=E7=AE=97=E6=94=B6=E7=9B=8A?= =?UTF-8?q?=E6=9C=AA=E8=AE=BE=E7=BD=AE=E6=8C=81=E4=BB=93=E9=87=91=E9=A2=9D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- app/components/MobileFundTable.jsx | 2 +- app/components/PcFundTable.jsx | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 29d4cdd..46887be 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ 在 Supabase控制台 → Authentication → Sign In / Providers → Auth Providers → email 中,关闭 **Confirm email** 选项。这样用户注册后就不需要再去邮箱点击确认链接了,直接使用验证码登录即可。 -6. 目前项目用到的 sql 语句,查看项目 supabase.sql 文件。 +6. 目前项目用到的 sql 语句,查看项目 /doc/supabase.sql 文件。 更多 Supabase 相关内容查阅官方文档。 diff --git a/app/components/MobileFundTable.jsx b/app/components/MobileFundTable.jsx index 5e9fd74..330fb1d 100644 --- a/app/components/MobileFundTable.jsx +++ b/app/components/MobileFundTable.jsx @@ -752,7 +752,7 @@ export default function MobileFundTable({ {masked && hasProfit ? '******' : amountStr} - {percentStr && !masked ? ( + {hasProfit && percentStr && !masked ? ( {percentStr} diff --git a/app/components/PcFundTable.jsx b/app/components/PcFundTable.jsx index 83fd644..752780c 100644 --- a/app/components/PcFundTable.jsx +++ b/app/components/PcFundTable.jsx @@ -682,7 +682,7 @@ export default function PcFundTable({ {masked && hasProfit ? '******' : amountStr} - {percentStr && !masked ? ( + {hasProfit && percentStr && !masked ? ( {percentStr} @@ -883,7 +883,7 @@ export default function PcFundTable({ }, }, ], - [currentTab, favorites, refreshing, sortBy, showFullFundName, getFundCardProps], + [currentTab, favorites, refreshing, sortBy, showFullFundName, getFundCardProps, masked], ); const table = useReactTable({