improve: 秒杀判断

This commit is contained in:
From-wh 2023-03-29 12:15:45 +08:00
parent d990f35db0
commit e02a03a220

View File

@ -636,7 +636,7 @@ export default {
h('InputNumber', {
props: {
min: 0,
precision: 0,
precision: key === 'price' ? 2 : 0,
value: key === 'price' ? params.row.price : params.row.quota,
},
on: {