Loading src/components/Paginator/Paginator.vue +1 −1 Original line number Diff line number Diff line Loading @@ -65,7 +65,7 @@ const color = computed(() => convertThemeToColor(props.theme, props.darknessThem const textColor = computed(() => convertThemeToTextColor(props.theme, props.darknessTheme)); watch(itemsPerPage, (cur, prev) => { if (cur > prev) current.value = Math.ceil((current.value * prev) / cur); if (cur > prev) current.value = Math.round((current.value * prev) / cur); else current.value = Math.ceil((prev * (current.value - 1) + +cur) / cur); }); </script> Loading src/components/Paginator/PaginatorItem.vue +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ defineProps<{ </div> </template> <style> <style scoped> .item { position: relative; display: flex; Loading Loading
src/components/Paginator/Paginator.vue +1 −1 Original line number Diff line number Diff line Loading @@ -65,7 +65,7 @@ const color = computed(() => convertThemeToColor(props.theme, props.darknessThem const textColor = computed(() => convertThemeToTextColor(props.theme, props.darknessTheme)); watch(itemsPerPage, (cur, prev) => { if (cur > prev) current.value = Math.ceil((current.value * prev) / cur); if (cur > prev) current.value = Math.round((current.value * prev) / cur); else current.value = Math.ceil((prev * (current.value - 1) + +cur) / cur); }); </script> Loading
src/components/Paginator/PaginatorItem.vue +1 −1 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ defineProps<{ </div> </template> <style> <style scoped> .item { position: relative; display: flex; Loading