diff --git a/src/views/Live/LiveRecommend.vue b/src/views/Live/LiveRecommend.vue
index bdc4538..df76afb 100644
--- a/src/views/Live/LiveRecommend.vue
+++ b/src/views/Live/LiveRecommend.vue
@@ -153,6 +153,22 @@
+
+
+
+ 언어
+
+
+
+
+
+
@@ -234,6 +250,12 @@ export default {
start_date: null,
end_date: null,
is_adult: false,
+ lang: 'ko',
+ languageOptions: [
+ { label: '한국어', value: 'ko' },
+ { label: '일본어', value: 'ja' },
+ { label: '영어', value: 'en' },
+ ],
headers: [
{
text: '이미지',
@@ -358,6 +380,7 @@ export default {
formData.append("start_date", this.start_date)
formData.append("end_date", this.end_date)
formData.append("is_adult", this.is_adult)
+ formData.append("lang", this.lang)
const res = await api.createRecommendCreatorBanner(formData);
if (res.status === 200 && res.data.success === true) {
@@ -383,7 +406,8 @@ export default {
this.image === null ||
this.creator_id === null ||
this.start_date === null ||
- this.end_date === null
+ this.end_date === null ||
+ this.lang === null
) {
this.notifyError('내용을 입력하세요')
} else {
@@ -398,6 +422,9 @@ export default {
this.creator_id = null
this.start_date = null
this.end_date = null
+ this.is_adult = false
+ this.lang = 'ko'
+ this.selected_recommend_live = null
},
notifyError(message) {
@@ -471,6 +498,8 @@ export default {
}
},
showWriteDialog() {
+ this.selected_recommend_live = null
+ this.lang = 'ko'
this.show_write_dialog = true
},
}