Commit 31719a0f authored by 王勇霞's avatar 王勇霞

feat: 调整

parent 3102756f
......@@ -286,7 +286,7 @@ class HomePage extends React.Component<any, any> {
<div className="rate_wrap">
<div className="yield_rate">
<div className="yield_rate_label">收益率</div>
<div className="yield_rate_value">{this.formatProfit(virtualAssets?.profit)}%</div>
<div className="yield_rate_value">{virtualAssets?.profit ? (+virtualAssets?.profit / 100) : 0}%</div>
</div>
<div className="yesterday_amount">
<div className="yesterday_amount_label">昨日收益</div>
......
......@@ -68,10 +68,11 @@ class SignCom extends React.Component {
if (!store.judgeActTime()) return
const { success, data } = await API.doSign();
if (success) {
Toast.show("签到成功~")
Toast.show(`签到成功,获得${data?.options?.[0]?.sendCount || 0}模拟理财金`)
}
await this.getSignInfo();
await store.updateIndex();
// 浏览任务
const {signInfo, currentWeek} = this.state
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment