
File name
Commit message
Commit date
File name
Commit message
Commit date
2022-11-06
File name
Commit message
Commit date
File name
Commit message
Commit date
<template>
<div>test</div>
</template>
<script>
import axios from 'axios';
export default {
data: () => {
return {
board:{
board_id:'1',
board_type:'2',
board_name:'3',
comment_at:'4',
write_at:'5',
}
};
},
methods: {
boardInsert: function () {
const vm = this;
axios({
url: '/testDataSelectList.json',
method: 'post',
headers: {
'Content-Type': "application/json; charset=UTF-8",
},
data: {}
}).then(function (response) {
console.log("test - response : ", response.data);
// vm.orderMoldListCount = response.data.orderMoldListCount;
// vm.orderMoldList = response.data.orderMoldList;
}).catch(function (error) {
console.log("boardInsert - error : ", error);
alert('게시판 생성 오류, 관리자에게 문의해주세요.');
});
},
},
watch: {
},
computed: {},
components: {
},
mounted: function () {
console.log("Vue mounted");
this.boardInsert();
},
};
</script>