Skip to content

Commit f83a072

Browse files
committed
fix status bug
Signed-off-by: zhangtianli2006 <49156174+zhangtianli2006@users.noreply.github.com>
1 parent 1092979 commit f83a072

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/components/lib/AjaxTable.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ export default {
7171
})
7272
.then(res => {
7373
if (limit === this.limit) {
74+
console.log('send');
7475
this.own_total = res.data.count;
7576
this.tableData = res.data.res.map(this.process);
7677
this.loading = false;

src/components/status/list.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
:limit="limit"
88
:total="data_count"
99
:process="process"
10-
:default_sort="{prop: 'id', order: 'ascending'}"
10+
:default_sort="{prop: 'id', order: 'descending'}"
1111
pagination_class="status-list-pagination"
1212
/>
1313
</el-card>
@@ -27,7 +27,7 @@ export default {
2727
return {
2828
alive: true,
2929
ajax_url: apiurl('/status/list'),
30-
limit: 20,
30+
limit: 30,
3131
columns: [{
3232
name: 'id',
3333
label: 'Run ID',

0 commit comments

Comments
 (0)