This commit is contained in:
lb
2022-11-18 15:03:18 +08:00
parent 9b8f796100
commit 5e78b4b5da
2 changed files with 27 additions and 17 deletions

View File

@@ -61,6 +61,7 @@ export default {
name: '成品率',
type: 'value',
min: 'dataMin',
splitNumber: 4,
nameTextStyle: {
color: 'rgba(255,255,255,0.7)',
fontSize: 12,
@@ -310,6 +311,9 @@ export default {
this.configs.series.forEach(item => {
item.data = [44, 40, 118, 197, 123, 95, 96].map(_ => {
let v = Math.floor(Math.random() * 100)
while (v < 80) {
v = Math.floor(Math.random() * 100)
}
return v
})
})