1
0
This commit is contained in:
syuilo
2018-02-18 12:35:18 +09:00
parent 61b95e0c26
commit 99b3499364
103 changed files with 878 additions and 790 deletions
+2 -2
View File
@@ -35,7 +35,7 @@ export default Vue.extend({
Progress.start();
this.$root.$data.os.api('posts/search', Object.assign({}, parse(this.query), {
(this as any).api('posts/search', Object.assign({}, parse(this.query), {
limit: limit
})).then(posts => {
this.posts = posts;
@@ -46,7 +46,7 @@ export default Vue.extend({
methods: {
more() {
this.offset += limit;
return this.$root.$data.os.api('posts/search', Object.assign({}, parse(this.query), {
return (this as any).api('posts/search', Object.assign({}, parse(this.query), {
limit: limit,
offset: this.offset
}));