Просмотр исходного кода

fix: judgment condition of autoHideHeader switch

F-loat 7 лет назад
Родитель
Сommit
8e3050aec0
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/components/SettingDarwer/index.js

+ 1 - 1
src/components/SettingDarwer/index.js

@@ -60,7 +60,7 @@ class SettingDarwer extends PureComponent {
       },
       {
         title: '下滑时隐藏 Header',
-        hide: fixedHeader,
+        hide: !fixedHeader,
         action: [
           <Switch
             size="small"