Improve mobile notifications view

This commit is contained in:
syuilo
2019-07-28 05:25:12 +09:00
parent 4277e53433
commit c3003cb363
9 changed files with 137 additions and 5 deletions

View File

@@ -67,6 +67,7 @@ export default (opts) => ({
async init() {
this.fetching = true;
if (opts.beforeInit) opts.beforeInit(this);
let params = typeof this.pagination.params === 'function' ? this.pagination.params(true) : this.pagination.params;
if (params && params.then) params = await params;
await this.$root.api(this.pagination.endpoint, {