振幅保留两位小数

This commit is contained in:
dongzp 2026-07-24 11:42:50 +08:00
parent e8d60aa63a
commit e306269424

View File

@ -46,7 +46,7 @@ const columns = computed((): StatCell[][] => {
], ],
[ [
{ label: '持仓量', value: `${(q.openInterest / 10000).toFixed(2)}万` }, { label: '持仓量', value: `${(q.openInterest / 10000).toFixed(2)}万` },
{ label: '振幅', value: `${q.amplitude}%` }, { label: '振幅', value: `${q.amplitude.toFixed(2)}%` },
{ label: '外盘', value: `${(q.outerVol / 10000).toFixed(2)}万`, className: 'price-up' }, { label: '外盘', value: `${(q.outerVol / 10000).toFixed(2)}万`, className: 'price-up' },
], ],
[ [