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