tianheng-ui 0.0.30 → 0.0.31

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,7 +1,7 @@
1
1
  {
2
2
  "name": "tianheng-ui",
3
3
  "description": "A Vue.js project",
4
- "version": "0.0.30",
4
+ "version": "0.0.31",
5
5
  "author": "shu lang <403732931@qq.com>",
6
6
  "license": "MIT",
7
7
  "private": false,
@@ -211,7 +211,7 @@ export default {
211
211
  handleSizeChange(val) {
212
212
  this.pageInfo.pageSize = val;
213
213
  this.$emit(
214
- "pageNumberChange",
214
+ "page-number-change",
215
215
  this.pageInfo.currentPage,
216
216
  this.pageInfo.pageSize
217
217
  );
@@ -220,7 +220,7 @@ export default {
220
220
  handleCurrentChange(val) {
221
221
  this.pageInfo.currentPage = val;
222
222
  this.$emit(
223
- "pageNumberChange",
223
+ "page-number-change",
224
224
  this.pageInfo.currentPage,
225
225
  this.pageInfo.pageSize
226
226
  );
@@ -230,7 +230,7 @@ export default {
230
230
  if (this.pageInfo.currentPage === 1) return;
231
231
  this.pageInfo.currentPage -= 1;
232
232
  this.$emit(
233
- "pageNumberChange",
233
+ "page-number-change",
234
234
  this.pageInfo.currentPage,
235
235
  this.pageInfo.pageSize
236
236
  );
@@ -240,7 +240,7 @@ export default {
240
240
  if (this.pageInfo.currentPage === this.pageInfo.pageCount) return;
241
241
  this.pageInfo.currentPage += 1;
242
242
  this.$emit(
243
- "pageNumberChange",
243
+ "page-number-change",
244
244
  this.pageInfo.currentPage,
245
245
  this.pageInfo.pageSize
246
246
  );