fix. stove gnb 옵션 적용
This commit is contained in:
@@ -28,7 +28,7 @@ const loadGnb = (locale: string) => {
|
||||
const gnbOption = {
|
||||
wrapper: '#stove-wrap',
|
||||
isResponsive: true,
|
||||
skin: stoveGnbData?.skin_type || 'gnb-dark-mini',
|
||||
skin: 'gnb-dark-mini',
|
||||
widget: {
|
||||
gameListAndService: false,
|
||||
languageSelect: false,
|
||||
|
||||
@@ -22,8 +22,8 @@ onMounted(() => {
|
||||
mobile: '',
|
||||
},
|
||||
widget: {
|
||||
notification: true,
|
||||
stoveDownload: true,
|
||||
notification: stoveGnbData?.notify_icon_visible || true,
|
||||
stoveDownload: stoveGnbData?.stove_install_button_visible || true,
|
||||
languageSelect: false,
|
||||
themeSelect: false,
|
||||
stoveMenu: {
|
||||
@@ -40,9 +40,8 @@ onMounted(() => {
|
||||
},
|
||||
mode: {
|
||||
theme: {
|
||||
support: ['light', 'dark'],
|
||||
support: designTheme === 1 ? ['light'] : ['dark'],
|
||||
default: designTheme === 1 ? 'light' : 'dark',
|
||||
// support: designTheme === 1 ? ['light'] : ['dark'],
|
||||
},
|
||||
mini: true,
|
||||
layout: 'wide',
|
||||
@@ -54,7 +53,7 @@ onMounted(() => {
|
||||
stoveGnbOptions
|
||||
)
|
||||
}
|
||||
if(mountedInstance){
|
||||
if (mountedInstance) {
|
||||
//Stove GNB에서도 쿠키를 굽고 있어 소문자로 통일
|
||||
//LOCALE 쿠키를 가져온 후 소문자로 변경해서 다시 LOCALE 쿠키를 설정
|
||||
nextTick(() => {
|
||||
@@ -66,10 +65,8 @@ onMounted(() => {
|
||||
localeCookie.value = localeCookie.value.toLowerCase()
|
||||
})
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
|
||||
onBeforeUnmount(() => {
|
||||
if (mountedInstance && typeof mountedInstance.destroy === 'function') {
|
||||
mountedInstance.destroy()
|
||||
|
||||
Reference in New Issue
Block a user