This commit is contained in:
syuilo 2018-02-22 02:41:29 +09:00
parent bbd36ba4ed
commit 93314b48a2

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 => {