|
@@ -113,7 +113,7 @@
|
|
|
console.log('viewStatics-data', bulletChatAmountsData.value);
|
|
|
const maxNumber = Math.max(...bulletChatAmountsData.value);
|
|
|
const pow = Math.pow(10, maxNumber.toString().length - 1);
|
|
|
- maxSize.value = Math.floor(maxNumber / 10) * 10 + pow * 2;
|
|
|
+ maxSize.value = maxNumber > 10 ? Math.floor(maxNumber / 10) * 10 + pow * 2 : 10;
|
|
|
console.log('maxSize', maxSize.value);
|
|
|
handleSetOptions();
|
|
|
// viewStaticsData.value = data;
|