32 行
614 B
Vue
32 行
614 B
Vue
<template>
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
{{ changelog }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'entry-changelog',
|
|
data: function () {
|
|
return {
|
|
id: 1,
|
|
changelog: ''
|
|
}
|
|
},
|
|
created: function () {
|
|
axios.get('/api/rpc/file/getfilechangelog' + this.id).then(data => {
|
|
this.changelog = data.data.changelog;
|
|
})
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
.col {
|
|
text-align: center;
|
|
}
|
|
</style> |