Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9bfba84

Browse files
committed
apijson-table component add sort support
1 parent257b8e0 commit9bfba84

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎uliweb_apijson/apijson/templates/vue/inc_apijson_table.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,8 +447,10 @@
447447
}
448448
})
449449
},
450-
table_on_sort_change:function(){
451-
450+
table_on_sort_change:function(params){
451+
this.sort_key=params.key
452+
this.sort_order=params.order=="asc" ?"+" :"-"
453+
this.update_list()
452454
},
453455
page_on_change:function(data){
454456
this.update_list()

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp