File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
<template>
<div>
<span class="title mr40">{{ infoData.book_nm }}</span>
<span class="subtitle">{{ infoData.unit_nm }}</span>
</div>
</template>
<script>
import axios from 'axios';
export default {
data() {
return {
infoData: [],
};
},
methods: {
fetchScheduleInfo() {
axios({
url: '/schedule/selectScheduleName.json',
method: 'post',
headers: {
'Content-Type': 'application/json; charset=UTF-8',
},
data: {
scheduleId: this.scheduleId,
},
})
.then((response) => {
console.log(response.data[0]);
this.infoData = response.data[0];
})
.catch((err) => {
console.log('에러 : ', err);
});
},
},
computed: {
scheduleId() {
return this.$store.getters.getSchdlId;
},
},
mounted() {
this.fetchScheduleInfo();
},
};
</script>
<style lang=""></style>