File tree Expand file tree Collapse file tree 3 files changed +46
-30
lines changed
test/components/__snapshots__ Expand file tree Collapse file tree 3 files changed +46
-30
lines changed Original file line number Diff line number Diff line change @@ -152,8 +152,8 @@ const ui = computed(() => tv({ extend: tv(theme), ...(appConfig.ui?.pagination |
152152 </slot >
153153 </PaginationPrev >
154154
155- <template v-for =" (item , index ) in items " >
156- <PaginationListItem v-if =" item.type === 'page'" :key = " index " as-child :value =" item.value" :class =" ui.item({ class: props.ui?.item })" >
155+ <template v-for =" (item , index ) in items " : key = " index " >
156+ <PaginationListItem v-if =" item.type === 'page'" as-child :value =" item.value" :class =" ui.item({ class: props.ui?.item })" >
157157 <slot name =" item" v-bind =" { item, index, page, pageCount }" >
158158 <UButton
159159 :color =" page === item.value ? activeColor : color"
@@ -167,9 +167,9 @@ const ui = computed(() => tv({ extend: tv(theme), ...(appConfig.ui?.pagination |
167167 </slot >
168168 </PaginationListItem >
169169
170- <PaginationEllipsis v-else :key = " item.type " :index = " index " as-child :class =" ui.ellipsis({ class: props.ui?.ellipsis })" >
170+ <PaginationEllipsis v-else as-child :class =" ui.ellipsis({ class: props.ui?.ellipsis })" >
171171 <slot name =" ellipsis" >
172- <UButton :color =" color" :variant =" variant" :size =" size" :icon =" ellipsisIcon || appConfig.ui.icons.ellipsis" />
172+ <UButton as = " div " :color =" color" :variant =" variant" :size =" size" :icon =" ellipsisIcon || appConfig.ui.icons.ellipsis" />
173173 </slot >
174174 </PaginationEllipsis >
175175 </template >
You can’t perform that action at this time.
0 commit comments