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