king
2021-04-15 47b60c427d8b72e250b551ec857c0631b5857224
src/menu/components/chart/antv-scatter/index.jsx
@@ -163,12 +163,12 @@
      if (i % 2 === 0) {
        item.gender = 'male'
        item.height = 160 + Math.floor(n * 35)
        item.weight = 50 + Math.floor(m * 55)
        item.height = 160 + Math.floor(n * 35 * 10) / 10
        item.weight = 50 + Math.floor(m * 55 * 10) / 10
      } else {
        item.gender = 'female'
        item.height = 140 + Math.floor(n * 40)
        item.weight = 41 + Math.floor(m * 45)
        item.height = 140 + Math.floor(n * 40 * 10) / 10
        item.weight = 41 + Math.floor(m * 45 * 10) / 10
      }
      data.push(item)