diff --git a/src/views/Content/ContentMainTopBanner.vue b/src/views/Content/ContentMainTopBanner.vue
index a030ee0..5ee3e4f 100644
--- a/src/views/Content/ContentMainTopBanner.vue
+++ b/src/views/Content/ContentMainTopBanner.vue
@@ -109,6 +109,23 @@
+
+
+
+
+ 언어
+
+
+
+
+
+
@@ -327,7 +344,7 @@ export default {
show_write_dialog: false,
show_delete_confirm_dialog: false,
selected_banner: {},
- banner: {type: 'CREATOR', tab_id: 1},
+ banner: {type: 'CREATOR', tab_id: 1, lang: 'ko'},
banners: [],
events: [],
creators: [],
@@ -335,7 +352,12 @@ export default {
search_query_creator: '',
search_query_series: '',
tabs: [],
- selected_tab_id: 1
+ selected_tab_id: 1,
+ langItems: [
+ { text: '한국어', value: 'ko' },
+ { text: '일본어', value: 'ja' },
+ { text: '영어', value: 'en' }
+ ]
}
},
@@ -379,7 +401,7 @@ export default {
this.is_selecting = false
this.show_write_dialog = false
this.show_delete_confirm_dialog = false
- this.banner = {type: 'CREATOR', tab_id: 1}
+ this.banner = {type: 'CREATOR', tab_id: 1, lang: 'ko'}
this.selected_banner = {}
this.search_query_creator = ''
this.search_query_series = ''
@@ -432,6 +454,10 @@ export default {
this.banner.link = banner.link
this.banner.is_adult = banner.isAdult
this.banner.tab_id = banner.tabId
+ // 수정 시 언어는 변경 불가하므로 UI를 표시하지 않음. 필요 시 내부 유지만 함 (기본값 또는 서버 값 사용)
+ if (banner.lang) {
+ this.banner.lang = banner.lang
+ }
setTimeout(() => {
this.is_selecting = false; // 선택 상태 해제
@@ -497,7 +523,8 @@ export default {
let request = {
type: this.banner.type,
- isAdult: this.banner.is_adult
+ isAdult: this.banner.is_adult,
+ lang: this.banner.lang || 'ko'
}
if (this.banner.type === 'CREATOR') {