From 93314b48a2f5336094682b0c388150bf4602239a Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 22 Feb 2018 02:41:29 +0900 Subject: [PATCH] wip --- src/web/app/desktop/views/pages/post.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/web/app/desktop/views/pages/post.vue b/src/web/app/desktop/views/pages/post.vue index 8b9f30f10..446fdbcbf 100644 --- a/src/web/app/desktop/views/pages/post.vue +++ b/src/web/app/desktop/views/pages/post.vue @@ -23,6 +23,8 @@ export default Vue.extend({ mounted() { Progress.start(); + // TODO: extract the fetch step for vue-router's caching + (this as any).api('posts/show', { post_id: this.postId }).then(post => {