mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-26 17:49:15 +01:00
added pagination for tasks
This commit is contained in:
@@ -49,19 +49,7 @@ export default {
|
||||
computed: {
|
||||
filteredData () {
|
||||
return this.data
|
||||
.map(d => {
|
||||
for (let k in d) {
|
||||
if (d.hasOwnProperty(k)) {
|
||||
if (d[k] === undefined || d[k] === null) continue
|
||||
if (typeof d[k] === 'object') {
|
||||
if (d[k]) {
|
||||
d[k] = d[k]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return d
|
||||
})
|
||||
.map(d => d)
|
||||
.filter((d, index) => {
|
||||
// pagination
|
||||
const { pageNum, pageSize } = this.pagination
|
||||
|
||||
Reference in New Issue
Block a user