fix: 修复前端编译错误,移除不存在的 bestBid 属性引用
This commit is contained in:
@@ -1455,9 +1455,9 @@ const PositionList: React.FC = () => {
|
|||||||
}}
|
}}
|
||||||
placeholder="请输入限价价格"
|
placeholder="请输入限价价格"
|
||||||
/>
|
/>
|
||||||
{marketPrice?.bestBid && (
|
{marketPrice?.currentPrice && (
|
||||||
<div style={{ marginTop: '4px', fontSize: '12px', color: '#999' }}>
|
<div style={{ marginTop: '4px', fontSize: '12px', color: '#999' }}>
|
||||||
参考价格(最优买价,卖出参考): {formatNumber(marketPrice.bestBid, 4)}
|
参考价格(卖出参考): {formatNumber(marketPrice.currentPrice, 4)}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
|
|||||||
Reference in New Issue
Block a user