0
0

Better limit

This commit is contained in:
syuilo 2018-11-30 00:45:02 +09:00
parent 72d9a46156
commit ee82f99f5a
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
2 changed files with 2 additions and 2 deletions

View File

@ -187,7 +187,7 @@ export default Vue.extend({
} else { } else {
this.$root.api('users/search', { this.$root.api('users/search', {
query: this.q, query: this.q,
limit: 30 limit: 10
}).then(users => { }).then(users => {
this.users = users; this.users = users;
this.fetching = false; this.fetching = false;

View File

@ -115,7 +115,7 @@ export default Vue.extend({
} }
this.$root.api('users/search', { this.$root.api('users/search', {
query: this.q, query: this.q,
max: 5 limit: 10
}).then(users => { }).then(users => {
this.result = users; this.result = users;
}); });