This commit is contained in:
syuilo 2018-02-13 08:24:44 +09:00
parent 44a0952c0f
commit 0158808501
8 changed files with 48 additions and 37 deletions

View file

@ -14,7 +14,12 @@
import Vue from 'vue';
export default Vue.extend({
props: ['posts'],
props: {
posts: {
type: Array,
default: []
}
},
computed: {
_posts(): any {
return this.posts.map(post => {