mirror of https://github.com/halo-dev/halo-admin
feat: select the list of tags sorted by name (#429)
parent
1b0f988945
commit
b7e68acc67
|
@ -72,7 +72,7 @@ export default {
|
|||
},
|
||||
methods: {
|
||||
handleListTags(callback) {
|
||||
apiClient.tag.list({ more: true }).then(response => {
|
||||
apiClient.tag.list({ sort: 'name,asc', more: true }).then(response => {
|
||||
this.tags = response.data
|
||||
if (callback) {
|
||||
callback()
|
||||
|
|
Loading…
Reference in New Issue