|
|
@@ -36,7 +36,7 @@ const genGtData = (str) => {
|
|
|
for (i = 0; i < 200; i++) {
|
|
|
let str = ''
|
|
|
for (let j = 0; j < 1 + Math.round(Math.random() * 10); j++) {
|
|
|
- switch (Math.round(Math.random() * 3)) {
|
|
|
+ switch (Math.round(Math.random() * 7)) {
|
|
|
case 0:
|
|
|
let num = (Math.random() * 40).toFixed(1);
|
|
|
if (num.endsWith('.0')) {
|
|
|
@@ -48,13 +48,17 @@ for (i = 0; i < 200; i++) {
|
|
|
str += `第${parseInt(Math.random() * 100 + 1)} `
|
|
|
break
|
|
|
case 2:
|
|
|
+ case 3:
|
|
|
+ case 4:
|
|
|
let s = i.toFixed(1);
|
|
|
if (s.endsWith('.0')) {
|
|
|
s = s.replace('.0', '')
|
|
|
}
|
|
|
str += `${s} `
|
|
|
break
|
|
|
- case 3:
|
|
|
+ case 5:
|
|
|
+ case 6:
|
|
|
+ case 7:
|
|
|
str += `/${parseInt(Math.random() * 100 + 1)} `
|
|
|
break
|
|
|
}
|