diff --git a/src/components/calendar/SampleCalendar.vue b/src/components/calendar/SampleCalendar.vue index 8ec4068..33d2198 100644 --- a/src/components/calendar/SampleCalendar.vue +++ b/src/components/calendar/SampleCalendar.vue @@ -64,7 +64,7 @@ const callApi = (yearArr, monthArr) => { params: { solYear: String(yearArr[i]), solMonth: String(monthArr[i]), - serviceKey: key1, + serviceKey: key2, }, }) .then(data => { diff --git a/src/components/input/FormSelect.vue b/src/components/input/FormSelect.vue index 56a314e..43e4cfa 100644 --- a/src/components/input/FormSelect.vue +++ b/src/components/input/FormSelect.vue @@ -6,16 +6,16 @@
- - diff --git a/src/views/board/BoardWrite.vue b/src/views/board/BoardWrite.vue index f56d402..ba0704b 100644 --- a/src/views/board/BoardWrite.vue +++ b/src/views/board/BoardWrite.vue @@ -13,7 +13,14 @@ - + @@ -22,9 +29,9 @@ 내용 * -
+
- +
@@ -44,14 +51,14 @@ import TEditor from '@c/editor/TEditor.vue'; import FormInput from '@c/input/FormInput.vue'; import FormSelect from '@c/input/FormSelect.vue'; import FormFile from '@c/input/FormFile.vue'; -import { ref } from 'vue'; +import { ref, watch } from 'vue'; import router from '@/router'; const categoryList = ['자유', '익명', '공지사항']; - +// input 경고문 만들어야함 const title = ref(''); const password = ref(''); -const category = ref(''); +const category = ref(0); const content = ref(''); const attachFiles = ref(null); @@ -61,7 +68,7 @@ const goList = () => { }; const write = () => { - console.log("작성"); + console.log('작성'); };