Skip to content

Commit 5c318d6

Browse files
committed
fix: reset at on first change
1 parent 2bd449b commit 5c318d6

File tree

1 file changed

+1
-1
lines changed
  • packages/components-vue/src/components/pagination

1 file changed

+1
-1
lines changed

packages/components-vue/src/components/pagination/Simple.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
const firstModel = computed({
110110
get: () => props.modelValue?.first ?? defaultFirst ?? 0,
111111
set(first) {
112-
emit("update:model-value", { ...props.modelValue, first });
112+
emit("update:model-value", { ...props.modelValue, first, at: undefined });
113113
},
114114
});
115115

0 commit comments

Comments
 (0)