ミスだった。
このコミットが含まれているのは:
コミット
4c99cec1c1
|
@ -23,23 +23,23 @@
|
|||
<script>
|
||||
import moment from 'moment';
|
||||
export default {
|
||||
name: 'new-items',
|
||||
data: function () {
|
||||
return {
|
||||
items: []
|
||||
}
|
||||
},
|
||||
created: function () {
|
||||
axios.get('/api/rpc/file/getnewfiles').then(data => {
|
||||
data.data.forEach(cb => {
|
||||
this.items.push({
|
||||
'id': cb.id,
|
||||
'title': cb.title,
|
||||
'submit_date': moment.unix(cb.submit_date).format("YYYY/MM/DD")
|
||||
name: 'new-items',
|
||||
data: function () {
|
||||
return {
|
||||
items: []
|
||||
}
|
||||
},
|
||||
created: function () {
|
||||
axios.get('/api/rpc/file/getnewfiles').then(data => {
|
||||
data.data.forEach(cb => {
|
||||
this.items.push({
|
||||
'id': cb.id,
|
||||
'title': cb.title,
|
||||
'submit_date': moment.unix(cb.submit_date).format("YYYY/MM/DD")
|
||||
});
|
||||
});
|
||||
});
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
|
新しいイシューから参照