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: {
|
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()
|
||||||
|
|
Loading…
Reference in New Issue