fix: 修复前端编译错误,移除不存在的 bestBid 属性引用

This commit is contained in:
WrBug
2026-01-02 00:24:31 +08:00
parent 64f6a2b897
commit fde0193372
+2 -2
View File
@@ -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>