We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc6657e commit ee86b1eCopy full SHA for ee86b1e
src/components/Table/CTable.vue
@@ -237,10 +237,7 @@ export default {
237
type: Number,
238
default: 10
239
},
240
- activePage: {
241
- type: Number,
242
- default: 1
243
- },
+ activePage: Number,
244
indexColumn: [Boolean, String],
245
filterRow: Boolean,
246
pagination: [Boolean, Object],
@@ -270,7 +267,7 @@ export default {
270
267
columnFilter: this.defaultColumnFilter || {},
271
268
sorter: { name: this.defaultSorter[0], direction: this.defaultSorter[1] },
272
269
firstItemIndex: 0,
273
- page: this.activePage,
+ page: this.activePage || 1,
274
perPageItems: this.perPage,
275
passedItems: this.items || []
276
}
0 commit comments