This commit is contained in:
syuilo 2018-02-22 02:41:29 +09:00
parent 52c2d7c794
commit 937b6539e0
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,8 @@ export default Vue.extend({
mounted() { mounted() {
Progress.start(); Progress.start();
// TODO: extract the fetch step for vue-router's caching
(this as any).api('posts/show', { (this as any).api('posts/show', {
post_id: this.postId post_id: this.postId
}).then(post => { }).then(post => {