diff --git a/src/components/inputswitch/InputSwitch.vue b/src/components/inputswitch/InputSwitch.vue index 2f0e1bfee..2eabc20ae 100755 --- a/src/components/inputswitch/InputSwitch.vue +++ b/src/components/inputswitch/InputSwitch.vue @@ -1,8 +1,8 @@
@@ -194,6 +194,9 @@ export default { }, empty() { return this.pageCount === 0; + }, + currentPage() { + return this.pageCount > 0 ? this.page + 1 : 0; } }, components: {