|
@@ -2339,18 +2339,16 @@ class BootstrapTable {
|
|
|
} else if (visible && index > -1) {
|
|
} else if (visible && index > -1) {
|
|
|
this.hiddenRows.splice(index, 1)
|
|
this.hiddenRows.splice(index, 1)
|
|
|
}
|
|
}
|
|
|
- if (visible) {
|
|
|
|
|
- this.updatePagination()
|
|
|
|
|
- } else {
|
|
|
|
|
- this.initBody(true)
|
|
|
|
|
- this.initPagination()
|
|
|
|
|
- }
|
|
|
|
|
|
|
+
|
|
|
|
|
+ this.initBody(true)
|
|
|
|
|
+ this.initPagination()
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
getHiddenRows (show) {
|
|
getHiddenRows (show) {
|
|
|
if (show) {
|
|
if (show) {
|
|
|
this.initHiddenRows()
|
|
this.initHiddenRows()
|
|
|
this.initBody(true)
|
|
this.initBody(true)
|
|
|
|
|
+ this.initPagination()
|
|
|
return
|
|
return
|
|
|
}
|
|
}
|
|
|
const data = this.getData()
|
|
const data = this.getData()
|