fix: 估算收益未设置持仓金额显示问题
This commit is contained in:
@@ -93,7 +93,7 @@
|
||||
|
||||
在 Supabase控制台 → Authentication → Sign In / Providers → Auth Providers → email 中,关闭 **Confirm email** 选项。这样用户注册后就不需要再去邮箱点击确认链接了,直接使用验证码登录即可。
|
||||
|
||||
6. 目前项目用到的 sql 语句,查看项目 supabase.sql 文件。
|
||||
6. 目前项目用到的 sql 语句,查看项目 /doc/supabase.sql 文件。
|
||||
|
||||
更多 Supabase 相关内容查阅官方文档。
|
||||
|
||||
|
||||
@@ -752,7 +752,7 @@ export default function MobileFundTable({
|
||||
{masked && hasProfit ? '******' : amountStr}
|
||||
</FitText>
|
||||
</span>
|
||||
{percentStr && !masked ? (
|
||||
{hasProfit && percentStr && !masked ? (
|
||||
<span className={`${cls} estimate-profit-percent`} style={{ display: 'block', width: '100%', fontSize: '0.75em', opacity: 0.9, fontWeight: 500 }}>
|
||||
<FitText maxFontSize={11} minFontSize={9}>
|
||||
{percentStr}
|
||||
|
||||
@@ -682,7 +682,7 @@ export default function PcFundTable({
|
||||
<FitText className={cls} style={{ fontWeight: 700, display: 'block' }} maxFontSize={14} minFontSize={10}>
|
||||
{masked && hasProfit ? '******' : amountStr}
|
||||
</FitText>
|
||||
{percentStr && !masked ? (
|
||||
{hasProfit && percentStr && !masked ? (
|
||||
<span className={`${cls} estimate-profit-percent`} style={{ display: 'block', fontSize: '0.75em', opacity: 0.9, fontWeight: 500 }}>
|
||||
<FitText maxFontSize={11} minFontSize={9}>
|
||||
{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({
|
||||
|
||||
Reference in New Issue
Block a user