mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-01-01 04:56:19 +01:00
fix log
This commit is contained in:
parent
cf95082450
commit
695b75c944
1 changed files with 5 additions and 3 deletions
|
@ -58,9 +58,11 @@ const buttonRanges = computed(() => Array.from({ length: buttonCount.value }, (_
|
||||||
const prevDotVisible = computed(() => (current.value - 1 > buttonCountHalf.value) && (max.value > buttonCount.value));
|
const prevDotVisible = computed(() => (current.value - 1 > buttonCountHalf.value) && (max.value > buttonCount.value));
|
||||||
const nextDotVisible = computed(() => (current.value < max.value - buttonCountHalf.value) && (max.value > buttonCount.value));
|
const nextDotVisible = computed(() => (current.value < max.value - buttonCountHalf.value) && (max.value > buttonCount.value));
|
||||||
|
|
||||||
console.log(current.value, max.value, buttonCount.value, buttonCountHalf.value);
|
if (_DEV_) {
|
||||||
console.log(current.value < max.value - buttonCountHalf.value);
|
console.log('[MkPagingButtons]', current.value, max.value, buttonCount.value, buttonCountHalf.value);
|
||||||
console.log(max.value > buttonCount.value);
|
console.log('[MkPagingButtons]', current.value < max.value - buttonCountHalf.value);
|
||||||
|
console.log('[MkPagingButtons]', max.value > buttonCount.value);
|
||||||
|
}
|
||||||
|
|
||||||
function onNumberButtonClicked(pageNumber: number) {
|
function onNumberButtonClicked(pageNumber: number) {
|
||||||
emit('pageChanged', pageNumber);
|
emit('pageChanged', pageNumber);
|
||||||
|
|
Loading…
Reference in a new issue