Explorar o código

improve: 秒杀判断

From-wh %!s(int64=2) %!d(string=hai) anos
pai
achega
e02a03a220
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      template/admin/src/pages/marketing/storeSeckill/create.vue

+ 1 - 1
template/admin/src/pages/marketing/storeSeckill/create.vue

@@ -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: {