소스 검색

fix: preferences's showNavigation to showNavigationButton

nian 1 개월 전
부모
커밋
0cd9af854e
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      src/layout/header/action/PreferencesDrawer.vue

+ 3 - 3
src/layout/header/action/PreferencesDrawer.vue

@@ -35,7 +35,7 @@ const {
   navigationMode,
   showTopLoadingBar,
   showLogo,
-  showNavigation,
+  showNavigationButton,
   showBreadcrumb,
   showTabs,
   showTabClose,
@@ -211,12 +211,12 @@ const showNoiseModal = () => {
               <div class="flex items-center justify-between">
                 <span>显示导航按钮</span>
                 <NSwitch
-                  :value="showNavigation"
+                  :value="showNavigationButton"
                   :disabled="isSmallScreen || navigationMode !== 'sidebar'"
                   @update-value="
                     (value) =>
                       modify({
-                        showNavigation: value,
+                        showNavigationButton: value,
                       })
                   "
                 />