feat: select the list of tags sorted by name (halo-dev/console#429)

pull/3445/head
Ryan Wang 2022-02-09 11:40:12 +08:00 committed by GitHub
parent 836084061c
commit 883cb40f03
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ export default {
}, },
methods: { methods: {
handleListTags(callback) { handleListTags(callback) {
apiClient.tag.list({ more: true }).then(response => { apiClient.tag.list({ sort: 'name,asc', more: true }).then(response => {
this.tags = response.data this.tags = response.data
if (callback) { if (callback) {
callback() callback()