verce-vue-test 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "verce-vue-test",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -136,8 +136,9 @@ const currentPageSize = computed({
136
136
  get: () => props.pageSize,
137
137
  set: value => {
138
138
  emit('update:pageSize', value)
139
+ emit('update:page', 1)
139
140
  emit('pagination-change', {
140
- page: props.page,
141
+ page: 1,
141
142
  pageSize: value,
142
143
  })
143
144
  },