mirror of https://github.com/halo-dev/halo
feat: select the list of tags sorted by name (halo-dev/console#429)
parent
836084061c
commit
883cb40f03
|
@ -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