diff --git a/src/layouts/default/header/components/user-dropdown/index.vue b/src/layouts/default/header/components/user-dropdown/index.vue index bdc5e7f9..e51d931c 100644 --- a/src/layouts/default/header/components/user-dropdown/index.vue +++ b/src/layouts/default/header/components/user-dropdown/index.vue @@ -19,6 +19,7 @@ /> { @@ -116,6 +117,7 @@ getShowDoc, headerImg, register, + getUseLockPage, }; }, }); diff --git a/src/layouts/default/header/index.vue b/src/layouts/default/header/index.vue index b15e021d..4c7b9b1f 100644 --- a/src/layouts/default/header/index.vue +++ b/src/layouts/default/header/index.vue @@ -112,15 +112,11 @@ getMenuWidth, getIsMixSidebar, } = useMenuSetting(); - const { - getUseErrorHandle, - getShowSettingButton, - getSettingButtonPosition, - } = useRootSetting(); + const { getUseErrorHandle, getShowSettingButton, getSettingButtonPosition } = + useRootSetting(); const { getHeaderTheme, - getUseLockPage, getShowFullScreen, getShowNotice, getShowContent, @@ -189,7 +185,6 @@ getShowLocalePicker, getShowFullScreen, getShowNotice, - getUseLockPage, getUseErrorHandle, getLogoWidth, getIsMixSidebar,