expected score -> expected win rate
This commit is contained in:
parent
f76b84af7a
commit
9da0633270
|
@ -595,7 +595,9 @@ function PvEDoudizhuDemoView() {
|
||||||
</div>
|
</div>
|
||||||
{predictionRes.prediction.length > idx ? (
|
{predictionRes.prediction.length > idx ? (
|
||||||
<div className={'non-card'} style={{ marginTop: '0px' }}>
|
<div className={'non-card'} style={{ marginTop: '0px' }}>
|
||||||
<span>{`Expected Score: ${predictionRes.prediction[idx][1]}`}</span>
|
<span>{`Expected Win Rate: ${(Number(predictionRes.prediction[idx][1]) * 100).toFixed(
|
||||||
|
2,
|
||||||
|
)}%`}</span>
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
''
|
''
|
||||||
|
|
Loading…
Reference in New Issue